Skip to content

Commit

Permalink
Add more recent Scala keywords to parser (#1488)
Browse files Browse the repository at this point in the history
Resolves #1487 in a quick test.

Pull request: #1488
  • Loading branch information
coreyoconnor authored May 13, 2024
1 parent cd78484 commit a6d11ef
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion amm/util/src/main/scala/ammonite/util/Model.scala
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,15 @@ object Name {
"def",
"do",
"else",
"enum",
"export",
"extends",
"false",
"finally",
"final",
"finally",
"forSome",
"for",
"given",
"if",
"implicit",
"import",
Expand All @@ -83,6 +85,7 @@ object Name {
"return",
"sealed",
"super",
"then",
"this",
"throw",
"trait",
Expand All @@ -108,6 +111,8 @@ object Name {
">:",
"#",
"@",
"=>>",
"?=>",
"\u21d2",
"\u2190"
)
Expand Down

0 comments on commit a6d11ef

Please sign in to comment.