You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Funs inside a lib can have a quoted real name if that name cannot be represented as a Crystal identifier:
libLib
fun foo ="llvm.ceil.f32"end
The same cannot be done for external variables:
libLib$foo="llvm.ceil.f32" : Int32# Error: expecting any of these tokens: IDENT, CONST (not 'DELIMITER_START')end
Since both are similarly mangled and Crystal doesn't have control over the mangling scheme, I think we should allow quoted strings here for external variables too.
The text was updated successfully, but these errors were encountered:
Funs inside a lib can have a quoted real name if that name cannot be represented as a Crystal identifier:
The same cannot be done for external variables:
Since both are similarly mangled and Crystal doesn't have control over the mangling scheme, I think we should allow quoted strings here for external variables too.
The text was updated successfully, but these errors were encountered: