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
packageTestistype C is (A => 206, B => 183) with Size => 54, Always_Valid => True;
type D isrange48 .. 54with Size => 6;
type E is
message
A : C;
B : D;
endmessage;
endTest;
I don't think this is just an unclear error message. Rather we seem not to detect the conflict between field name and literal at all. The error just happens to be detected by coincidence - if e.g. type D had a range of 183..183 bad things will happen further down the road.
treiher
changed the title
Unclear error message for naming conflicts between field names and literals
Missing check for naming conflicts between field names and literals
Jun 29, 2020
The text was updated successfully, but these errors were encountered: