Skip to content

Commit 05f77a5

Browse files
committed
Fix error messages for kaitai-io/kaitai_struct_compiler#311
1 parent 4fa7456 commit 05f77a5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

formats_err/expr_unknown_method1.ksy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# expr_unknown_method1.ksy: /instances/foo/value:
2-
# error: don't know how to call method 'frobnicate' of object type 'CalcBytesType'
2+
# error: don't know how to call method 'frobnicate' of object type 'byte array'
33
#
44
meta:
55
id: expr_unknown_method1

formats_err/expr_unknown_method2.ksy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# expr_unknown_method2.ksy: /instances/foo/value:
2-
# error: don't know how to call method 'frobnicate' of object type 'CalcBytesType'
2+
# error: don't know how to call method 'frobnicate' of object type 'byte array'
33
#
44
meta:
55
id: expr_unknown_method2

formats_err/io_on_bytes.ksy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# io_on_bytes.ksy: /instances/one_in_foo/io:
2-
# error: don't know how to call method '_io' of object type 'BytesLimitType(IntNum(100),None,false,None,None)'
2+
# error: don't know how to call method '_io' of object type 'byte array'
33
#
44
meta:
55
id: io_on_bytes

0 commit comments

Comments
 (0)