MikeMitterer / dart-l10n-gettext

Other
18 stars 7 forks source link

Error: 'MapLiteral' isn't a type. #6

Closed michaelu123 closed 4 years ago

michaelu123 commented 4 years ago

The command flutter pub global activate l10n terminates with ... Precompiling executables... Failed to precompile l10n:mkl10n: /C:/flutter/.pub-cache/hosted/pub.dartlang.org/l10n-2.0.19/lib/extractor/L10NMessageExtraction.dart:159:56: Error: 'MapLiteral' isn't a type. if(arguments.length == 2 && arguments.last is! MapLiteral) { ^^^^^^^^^^

michaelu123 commented 4 years ago

Sorry wrong package,

michaelu123 commented 4 years ago

Apparently a duplicate of https://github.com/flutter/gallery/issues/324

reidlai commented 3 years ago

how can we solve this problem?

gabrielGavriluta commented 3 years ago

pub global activate --source git https://github.com/Delagen/dart-l10n-gettext