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
In commit dd9a74d it was demonstrated that the interpreter did not drop all labels when there are duplicate labels in a tuple concatenation while this is the desired behavior.
The type checker also computes duplicate fields names instead of dropping all field names.
In this example
module experiments::Compiler::Examples::Tst2
import Type;
tuple[int x, str s] a = <10, "abc">;
tuple[real x] b = <3.14>;
value main(list[value] args) = (a + b) has x; // !((a + b) has x);
In commit dd9a74d it was demonstrated that the interpreter did not drop all labels when there are duplicate labels in a tuple concatenation while this is the desired behavior.
The type checker also computes duplicate fields names instead of dropping all field names.
In this example
the type of
(a + b)
is computed aswhile it should be
The text was updated successfully, but these errors were encountered: