Commit Graph

9 Commits

Author SHA1 Message Date
Nick Liu
2c09785b7a add arg_name in duplicate argument error msg 2022-12-29 22:49:26 +08:00
Nick Liu
62fd967cd4 added lex error: DuplicateArguments 2022-12-29 22:49:26 +08:00
Anders Kaseorg
52ce437951 Prohibit starred arguments after double-starred arguments
CPython prohibits ‘f(**kwargs, *args)’; we should too.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2022-12-27 12:49:50 -08:00
Anders Kaseorg
316c4858e2 Remove unnecessary boxing of ASDL product children
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2022-12-14 02:30:02 -08:00
Charlie Marsh
ebeb0904d4 Use rustc-hash 2022-11-20 15:30:19 -05:00
Charlie Marsh
3de87f9828 Implement some minor performance optimizations 2022-11-20 13:33:20 -05:00
Charlie Marsh
610d408b4b Add end locations to all nodes (#4192) 2022-10-17 13:18:30 +09:00
Jeong YunWon
65df1fe9b6 integrate ast::Location into compilre-core::Location 2022-08-22 08:42:20 +09:00
Jeong YunWon
fb5ac9e79b reorganize compiler crates 2022-08-22 04:42:42 +09:00