41fa8b5482
uint types in viper mode can now be used for all binary operators except floor-divide and modulo. Fixes issue #1847 and issue #6177. Signed-off-by: Damien George <damien@micropython.org>
28 lines
1.2 KiB
Plaintext
28 lines
1.2 KiB
Plaintext
SyntaxError('annotation must be an identifier',)
|
|
SyntaxError('annotation must be an identifier',)
|
|
ViperTypeError("unknown type 'unknown_type'",)
|
|
ViperTypeError("local 'x' used before type known",)
|
|
ViperTypeError("local 'x' has type 'int' but source is 'object'",)
|
|
ViperTypeError("can't implicitly convert 'ptr' to 'bool'",)
|
|
ViperTypeError("return expected 'int' but got 'object'",)
|
|
ViperTypeError("can't do binary op between 'int' and 'object'",)
|
|
ViperTypeError('comparison of int and uint',)
|
|
ViperTypeError("can't load from 'int'",)
|
|
ViperTypeError("can't load from 'int'",)
|
|
ViperTypeError("can't store to 'int'",)
|
|
ViperTypeError("can't store to 'int'",)
|
|
ViperTypeError("can't store to 'int'",)
|
|
ViperTypeError("can't store 'None'",)
|
|
ViperTypeError("can't store 'None'",)
|
|
ViperTypeError('must raise an object',)
|
|
ViperTypeError('unary op __pos__ not implemented',)
|
|
ViperTypeError('unary op __neg__ not implemented',)
|
|
ViperTypeError('unary op __invert__ not implemented',)
|
|
ViperTypeError('div/mod not implemented for uint',)
|
|
ViperTypeError('div/mod not implemented for uint',)
|
|
ViperTypeError('binary op not implemented',)
|
|
NotImplementedError('native yield',)
|
|
NotImplementedError('native yield',)
|
|
NotImplementedError('conversion to object',)
|
|
NotImplementedError('casting',)
|