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
# test2.crmoduleOtherInterface; end
private record OnedoincludeOtherInterfaceend
private record TwodoincludeOtherInterfaceend
([One.new, Two.new] of OtherInterface) == [One.new, Two.new]
Then:
# test.crrequire"./test2"moduleOtherInterface; end
private record OnedoincludeOtherInterfaceend
private record TwodoincludeOtherInterfaceend
pp [One.new, Two.new] == [One.new, Two.new]
Results in:
$ crystal test.cr
Program exited because of an invalid instruction
If I had to guess, I'd say something regarding the "private to the file" thing isn't working out exactly as we expect giving one or the other files a reference to the other?
Then:
Results in:
If I had to guess, I'd say something regarding the "private to the file" thing isn't working out exactly as we expect giving one or the other files a reference to the other?
Originally posted by @Blacksmoke16 in #14447 (comment)
The text was updated successfully, but these errors were encountered: