Skip to content

gen_localizations.dart: inexplicable diffs, no intl package license headers found #44728

@HansMuller

Description

@HansMuller

On a fresh branch sync'd with master the gen_localizations command produces changes, even though the "packages/flutter_localizations/lib/src/l10n/*.arb" files haven't changed in a while:

flutter update-packages
dart dev/tools/localization/gen_localizations.dart --overwrite

This currently fails the analyzer test (on my machine) because it can't find headers in the intl package sources:

(cd ~/github/flutter; dart --enable-asserts ./dev/bots/analyze.dart)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
License headers cannot be found at the beginning of the following files.

/usr/local/google/home/hansmuller/github/flutter/packages/flutter_tools/.dart_tool/pub/deps/debug/intl/lib/date_symbol_data_http_request.dart
/usr/local/google/home/hansmuller/github/flutter/packages/flutter_tools/.dart_tool/pub/deps/debug/intl/lib/intl.dart
/usr/local/google/home/hansmuller/github/flutter/packages/flutter_tools/.dart_tool/pub/deps/debug/intl/lib/date_symbol_data_local.dart
....

I'm running Dart 2.7 etc.

flutter --version
Flutter 1.10.17-pre.60 • channel master • [email protected]:flutter/flutter.git
Framework • revision 99055c754a (79 minutes ago) • 2019-11-12 08:04:48 -0800
Engine • revision 31cd2dfca2
Tools • Dart 2.7.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: devtoolsDevTools related - suite of performance and debugging toolsa: internationalizationSupporting other languages or locales. (aka i18n)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions