use scoped errors in struct conversion

This commit is contained in:
Zachary Snow
2021-10-17 21:40:12 -06:00
parent c843efd504
commit 5105ccbb39
12 changed files with 71 additions and 48 deletions
+1
View File
@@ -1,4 +1,5 @@
// pattern: couldn't find field 'y' from struct definition struct packed \{..logic x;..logic y;.\} in struct pattern '\{..x: 1.\}
// location: struct_missing_field.sv:4:5
module top;
struct packed {
logic x, y;