Skip to content

Commit ac51f82

Browse files
committed
Added type_unknown_many, showcasing several problems detected in one pass in type/enum resolution precompile step
1 parent f513d64 commit ac51f82

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

formats_err/type_unknown_many.ksy

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# type_unknown_many.ksy: /seq/0:
2+
# error: unable to find type 'some_unknown_name', searching from type_unknown_many
3+
#
4+
# type_unknown_many.ksy: /seq/1:
5+
# error: unable to find type 'also_unknown_name', searching from type_unknown_many
6+
#
7+
# type_unknown_many.ksy: /seq/2:
8+
# error: unable to find enum 'unknown_enum', searching from type_unknown_many
9+
#
10+
meta:
11+
id: type_unknown_many
12+
ks-opaque-types: false
13+
seq:
14+
- id: foo
15+
type: some_unknown_name
16+
- id: bar
17+
type: also_unknown_name
18+
- id: baz
19+
type: u1
20+
enum: unknown_enum

0 commit comments

Comments
 (0)