Files
tinygo/testdata
Ayke van Laethem fb0bb69f62 compiler: fix non-int integer constants
Before this change, the compiler could panic with the following message:

    panic: 20 not an Int

That of course doesn't make much sense. But it apparently is expected
behavior, see https://github.com/golang/go/issues/43165 for details.

This commit fixes this issue by converting the constant to an integer if
needed.
2020-12-27 16:13:36 +01:00
..
2019-09-20 10:35:49 +02:00
2019-09-20 10:35:49 +02:00
2020-01-27 19:01:55 +01:00
2020-05-12 01:17:27 +02:00
2019-09-24 18:16:43 +02:00
2020-10-29 21:53:41 +01:00
2019-02-05 19:37:21 +01:00
2019-02-05 19:37:21 +01:00
2020-10-02 11:26:22 +02:00
2020-10-02 11:26:22 +02:00
2018-10-20 17:22:51 +02:00
2020-10-23 21:37:35 +02:00
2020-10-23 21:37:35 +02:00
2019-10-13 23:07:47 +02:00
2019-10-13 23:07:47 +02:00
2020-05-12 01:17:27 +02:00