mirror of
https://github.com/roc-lang/roc.git
synced 2025-12-23 08:48:03 +00:00
Fix CI
This commit is contained in:
parent
fa19fabd88
commit
788d6579bd
3 changed files with 4 additions and 2 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -143,3 +143,5 @@ src/snapshots/**/*.html
|
|||
|
||||
# Local claude-code settings
|
||||
.claude/settings.local.json
|
||||
|
||||
*.bak
|
||||
|
|
|
|||
|
|
@ -1751,7 +1751,7 @@ fn findHoverInfoAtPosition(data: CompilerStageData, byte_offset: u32, identifier
|
|||
defer type_writer.deinit();
|
||||
|
||||
const def_var = @as(types.Var, @enumFromInt(@intFromEnum(def_idx)));
|
||||
try type_writer.write(def_var);
|
||||
try type_writer.write(def_var, .wrap);
|
||||
const type_str_from_writer = type_writer.get();
|
||||
const owned_type_str = try local_allocator.dupe(u8, type_str_from_writer);
|
||||
|
||||
|
|
|
|||
|
|
@ -188,7 +188,7 @@ fn hasSeenVar(self: *const TypeWriter, var_: Var) bool {
|
|||
return false;
|
||||
}
|
||||
|
||||
pub const Format = enum { one_line, wrap };
|
||||
const Format = enum { one_line, wrap };
|
||||
|
||||
/// Writes the current var into the the writers buffer and returns a bytes slice
|
||||
pub fn writeGet(self: *TypeWriter, var_: Var, format: Format) std.mem.Allocator.Error![]const u8 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue