summaryrefslogtreecommitdiff
path: root/tests/functional/d/dataclass/dataclass_typecheck.txt
blob: 5afac5849c86f1ef913c5967bd8126f19ac6007b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
invalid-sequence-index:38:6:38:20::Sequence index is not an int, slice, or instance with __index__:UNDEFINED
invalid-slice-index:42:10:42:19::Slice index is not an int, None, or instance with __index__:UNDEFINED
not-callable:45:0:45:14::obj.attr1 is not callable:UNDEFINED
invalid-unary-operand-type:50:6:50:16::"bad operand type for unary -: str":UNDEFINED
unsupported-membership-test:57:11:57:20::Value 'obj.attr1' doesn't support membership test:UNDEFINED
unsubscriptable-object:62:6:62:15::Value 'obj.attr1' is unsubscriptable:UNDEFINED
unsupported-assignment-operation:67:0:67:9::'obj.attr1' does not support item assignment:UNDEFINED
unsupported-delete-operation:72:4:72:13::'obj.attr1' does not support item deletion:UNDEFINED
not-context-manager:97:0:98:8::Context manager 'str' doesn't implement __enter__ and __exit__.:UNDEFINED
invalid-metaclass:105:0:105:11:Test2:Invalid metaclass 'Instance of builtins.int' used:UNDEFINED
unhashable-member:111:0:111:2::'obj.attr5' is unhashable and can't be used as a key in a dict:INFERENCE
isinstance-second-argument-not-valid-type:121:6:121:30::Second argument of isinstance is not a type:UNDEFINED