Skip to content

Commit

Permalink
Change format of interface impl to not clash with version identifiers…
Browse files Browse the repository at this point in the history
… of shared objects
  • Loading branch information
Victorious3 committed Feb 7, 2024
1 parent e4a85b0 commit 63ae9da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/debug.pr
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,7 @@ export def type_to_str(tpe: &typechecking::Type, full_name: bool = false) -> Str
case typechecking::TypeKind::TUNION, typechecking::TypeKind::VARIANT
return variant_t_to_string(tpe, full_name)
case typechecking::TypeKind::INTERFACE_IMPL
return type_to_str(tpe.tpe, full_name) + "@" + type_to_str(tpe.intf, full_name) + "#" + tpe.module.module
return type_to_str(tpe.tpe, full_name) + "/" + type_to_str(tpe.intf, full_name) + "#" + tpe.module.module
case
error(tpe.kind, "\n")
assert
Expand Down

0 comments on commit 63ae9da

Please sign in to comment.