diff --git a/readme.md b/readme.md index 53728e71fe..356518adb5 100644 --- a/readme.md +++ b/readme.md @@ -61,7 +61,7 @@ Latest development builds (artifacts in Release configuration for each compiler * Apache Configuration File * [CSV File](https://www.rfc-editor.org/rfc/rfc4180) * [D](tools/lang/D.d), up to D language 2.0. - * [Dart](tools/lang/Dart.dart), up to Dart 3.0. + * [Dart](tools/lang/Dart.dart), up to Dart 3.3. * Diff/Patch File * [F#](tools/lang/FSharp.fs), up to F# 8.0. * [Fortran](tools/lang/Fortran.f), up to Fortran 2018. diff --git a/src/EditLexers/stlDart.c b/src/EditLexers/stlDart.c index 1dc403203c..0f52717905 100644 --- a/src/EditLexers/stlDart.c +++ b/src/EditLexers/stlDart.c @@ -6,7 +6,7 @@ static KEYWORDLIST Keywords_Dart = {{ "abstract as assert async await base break case catch class const continue covariant default deferred do " "else enum export extends extension external factory false final finally for get hide " "if implements import in interface is late library mixin native new null of on operator part required rethrow return " -"sealed set show static super switch sync this throw true try typedef var when while with yield " +"sealed set show static super switch sync this throw true try type typedef var when while with yield " , // 1 types "Function Never bool double dynamic int num void " diff --git a/tools/lang/Dart.dart b/tools/lang/Dart.dart index cad680e524..7c6f016a74 100644 --- a/tools/lang/Dart.dart +++ b/tools/lang/Dart.dart @@ -1,4 +1,4 @@ -// 3.0 https://dart.dev/ +// 3.3 https://dart.dev/ // https://dart.dev/guides/language/language-tour // 2.13 https://dart.dev/guides/language/spec // https://github.com/dart-lang/language @@ -22,7 +22,7 @@ of on operator part rethrow return required sealed set show static super switch sync -this throw true try typedef +this throw true try type typedef var when while with yield