Skip to content

Commit

Permalink
enh(dart) Add base, interface, sealed, and when keywords (#3726)
Browse files Browse the repository at this point in the history
  • Loading branch information
srawlins committed Mar 4, 2023
1 parent f70a78d commit 8dab678
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@ Grammars:
- added 3rd party Motoko grammar to SUPPORTED_LANGUAGES [rvanasa][]
- added 3rd party Candid grammar to SUPPORTED_LANGUAGES [rvanasa][]
- fix(haskell) Added support for characters [CrystalSplitter][]
- enh(dart) Add `base`, `interface`, `sealed`, and `when` keywords [Sam Rawlins][]

[AdamRaichu]: https://github.com/AdamRaichu
[Ali Ukani]: https://github.com/ali
[Jeroen van Vianen]: https://github.com/morinel
[Rijenkii]: https://github.com/rijenkii
[rvanasa]: https://github.com/rvanasa
[CrystalSplitter]: https://github.com/CrystalSplitter
[Sam Rawlins]: https://github.com/srawlins


## Version 11.7.0
Expand Down
5 changes: 4 additions & 1 deletion src/languages/dart.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ export default function(hljs) {
"assert",
"async",
"await",
"base",
"break",
"case",
"catch",
Expand Down Expand Up @@ -158,7 +159,7 @@ export default function(hljs) {
"implements",
"import",
"in",
"inferface",
"interface",
"is",
"late",
"library",
Expand All @@ -171,6 +172,7 @@ export default function(hljs) {
"required",
"rethrow",
"return",
"sealed",
"set",
"show",
"static",
Expand All @@ -184,6 +186,7 @@ export default function(hljs) {
"typedef",
"var",
"void",
"when",
"while",
"with",
"yield"
Expand Down

0 comments on commit 8dab678

Please sign in to comment.