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
foo.x:9:17-9:18
0007: fn fn_foo() {
0008: let b = Bar { a: u1:0 };
0009: bar::fn_bar(b);
~~~~~~~~~~~~~~~~~~~~~~^ XlsTypeError: Mismatch between parameter and argument types.
Type mismatch:
Bar { a: uN[1] }
vs Bar { a: uN[1] }
0010: }
Error parsing and type checking DSLX source file: foo.x
Target //:foo_dslx failed to build
Expected behavior
The error should contain information why these types differ.
Environment (this can be helpful for troubleshooting):
Describe the bug
When two identical structs are defined in separate files and one is used as the other, the resulting
XlsTypeError
is confusing.To Reproduce
Steps to reproduce the behavior:
foo.x
bar.x
Expected behavior
The error should contain information why these types differ.
Environment (this can be helpful for troubleshooting):
def000aaa4ec5745397a21c4eeb051760f08e855
The text was updated successfully, but these errors were encountered: