mirror of
https://github.com/roc-lang/roc.git
synced 2025-12-23 08:48:03 +00:00
Delete obsolete comments
This commit is contained in:
parent
a094d7bc29
commit
f0f6203ea5
2 changed files with 0 additions and 8 deletions
|
|
@ -6994,12 +6994,6 @@ pub const Interpreter = struct {
|
|||
pub fn translateTypeVar(self: *Interpreter, module: *can.ModuleEnv, compile_var: types.Var) Error!types.Var {
|
||||
const resolved = module.types.resolveVar(compile_var);
|
||||
|
||||
// DEBUG: Print content type for debugging method dispatch issues
|
||||
// std.debug.print("translateTypeVar: content = {s}\n", .{@tagName(resolved.desc.content)});
|
||||
// if (resolved.desc.content == .structure) {
|
||||
// std.debug.print(" structure = {s}\n", .{@tagName(resolved.desc.content.structure)});
|
||||
// }
|
||||
|
||||
const key: u64 = (@as(u64, @intFromPtr(module)) << 32) | @as(u64, @intFromEnum(resolved.var_));
|
||||
if (self.translate_cache.get(key)) |found| {
|
||||
return found;
|
||||
|
|
|
|||
|
|
@ -1751,8 +1751,6 @@ test "e_low_level_lambda - Str.join_with roundtrip with split_on" {
|
|||
try testing.expectEqualStrings("\"hello world\"", value);
|
||||
}
|
||||
|
||||
// U8.plus tests - tests both static method call (U8.plus(a, b)) and method call syntax (a.plus(b))
|
||||
|
||||
test "e_low_level_lambda - U8.plus basic" {
|
||||
const src =
|
||||
\\a : U8
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue