mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 10:49:54 +00:00
chore: remove TokenKind::NoImplLit
This commit is contained in:
parent
5703aa84ab
commit
3f2793f915
4 changed files with 4 additions and 6 deletions
|
@ -53,7 +53,6 @@ pub fn type_from_token_kind(kind: TokenKind) -> Type {
|
|||
StrLit | DocComment => Type::Str,
|
||||
BoolLit => Type::Bool,
|
||||
NoneLit => Type::NoneType,
|
||||
NoImplLit => Type::NotImplementedType,
|
||||
EllipsisLit => Type::Ellipsis,
|
||||
InfLit => Type::Inf,
|
||||
other => panic!("this has no type: {other}"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue