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
test/fail/basis-merging-nonfix.mlb should fail, but currently it succeeds without error.
The problem: nonfix declarations should override previous infix declarations when merging bases. Currently, they do not.
Suggested solution: while parsing SML source, keep two separate InfixDicts around: one for infix declarations, and one for nonfix declarations. They can cancel each other out when there is any overlap. This allows us to cancel infix/nonfix across source files, as needed for the above test.
The text was updated successfully, but these errors were encountered:
test/fail/basis-merging-nonfix.mlb
should fail, but currently it succeeds without error.The problem:
nonfix
declarations should override previous infix declarations when merging bases. Currently, they do not.Suggested solution: while parsing SML source, keep two separate
InfixDict
s around: one for infix declarations, and one for nonfix declarations. They can cancel each other out when there is any overlap. This allows us to cancel infix/nonfix across source files, as needed for the above test.The text was updated successfully, but these errors were encountered: