• Joined on 2021-03-29
ychenfo closed issue M-Labs/nac3#46 2021-10-03 18:02:47 +08:00
poor error message with incorrect method return type
ychenfo commented on issue M-Labs/nac3#45 2021-10-03 17:29:39 +08:00
report location of missing type annotation

now the error message is something like:

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "function parameter `aa` at line 23 column 9 need type annotation"',…
ychenfo pushed to master at M-Labs/nac3 2021-10-03 17:28:12 +08:00
24b2111c64 nac3core: fix #45 toplevel better error msg for methods/functions
1430914d7b nac3core: toplevel better error msg for methods/functiions
Compare 2 commits »
ychenfo closed issue M-Labs/nac3#45 2021-10-03 17:28:11 +08:00
report location of missing type annotation
ychenfo pushed to master at M-Labs/nac3 2021-10-03 17:22:32 +08:00
1430914d7b nac3core: toplevel better error msg for methods/functiions
ychenfo commented on pull request M-Labs/nac3#42 2021-10-03 16:35:43 +08:00
snapshot-test-insta

Oh currently for the shorter error cases tests I use this vecotr, for the normal tests with longer outputs I use insta.

Maybe I could split the error cases and normal cases to two different sets…

ychenfo pushed to snapshot-test-insta at M-Labs/nac3 2021-10-03 16:28:03 +08:00
0de4fe534d Merge branch 'master' into snapshot-test-insta
915460ecb7 nac3artiq: fix typo
Compare 2 commits »
ychenfo created pull request M-Labs/nac3#42 2021-10-03 16:24:56 +08:00
snapshot-test-insta
ychenfo pushed to snapshot-test-insta at M-Labs/nac3 2021-10-03 16:18:29 +08:00
5cbdb4005c nac3core: top level test cleanup
b62f5b9376 nac3core: toplevel fix broken tests, use snapshot tests
Compare 2 commits »
ychenfo created branch snapshot-test-insta in M-Labs/nac3 2021-10-03 16:18:29 +08:00
ychenfo pushed to with_nac3comment at M-Labs/nac3 2021-10-03 16:06:39 +08:00
bb90a7eabc use parser with nac3 comment support
7584944989 use parser with nac3 comment support
Compare 2 commits »
ychenfo pushed to with_nac3comment at M-Labs/nac3 2021-10-03 16:05:23 +08:00
7584944989 use parser with nac3 comment support
be25ca5ce6 nac3core: toplevel fix broken tests, use snapshot tests
825278f116 use parser with nac3 comment support
Compare 3 commits »
ychenfo commented on issue M-Labs/nac3#20 2021-10-03 14:20:47 +08:00
add comment support to rustpython parser

The new branch with_nac3comment contains modifications to use the moded python parser to support nac3comment in ast.

The current…

ychenfo pushed to with_nac3comment at M-Labs/nac3 2021-10-03 14:11:14 +08:00
be25ca5ce6 nac3core: toplevel fix broken tests, use snapshot tests
825278f116 use parser with nac3 comment support
Compare 2 commits »
ychenfo created branch with_nac3comment in M-Labs/nac3 2021-10-03 14:11:14 +08:00