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
The type checker does not provide diagnostics about name collisions between ordinary types (or at least aliases) and nonterminal types. I've been able to narrow it down to the snippets below. I have experienced that a call like the first foo in main did not get called, so I expect that the arbitrary ordering of imports could is a cause of that (but I can't reproduce the behavior).
moduleBug1syntaxFoo = "foo";
moduleBug2importBug1;
importIO;
aliasFoo = str; // no error or warningvoidfoo(Foofoo) {
println("boom");
}
voidmain() {
foo("foo"); // no error, boom gets printed.foo((Foo)`foo`); // error: `str or Foo` possibly not supported by parser generator
}
The text was updated successfully, but these errors were encountered:
The type checker does not provide diagnostics about name collisions between ordinary types (or at least aliases) and nonterminal types. I've been able to narrow it down to the snippets below. I have experienced that a call like the first
foo
inmain
did not get called, so I expect that the arbitrary ordering of imports could is a cause of that (but I can't reproduce the behavior).The text was updated successfully, but these errors were encountered: