Skip to content

Conversation

@jonahwilliams
Copy link
Contributor

Description

We currently throw when debug compiling an application to JavaScript if it imports an unsupported library, but not in release mode. This change aligns the behavior to avoid work arounds.

@fluttergithubbot
Copy link
Contributor

It looks like this pull request may not have tests. Please make sure to add tests before merging. While there are exceptions to this rule, if this patch modifies code it is probably not an exception.

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@fluttergithubbot fluttergithubbot added the tool Affects the "flutter" command-line tool. See also t: labels. label Sep 12, 2019
@codecov
Copy link

codecov bot commented Sep 12, 2019

Codecov Report

Merging #40368 into master will increase coverage by 0.84%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #40368      +/-   ##
==========================================
+ Coverage   58.44%   59.29%   +0.84%     
==========================================
  Files         192      192              
  Lines       18627    18549      -78     
==========================================
+ Hits        10886    10998     +112     
+ Misses       7741     7551     -190
Flag Coverage Δ
#flutter_tool 59.29% <ø> (+0.84%) ⬆️
Impacted Files Coverage Δ
...lutter_tools/lib/src/commands/update_packages.dart 3.63% <ø> (ø) ⬆️
...s/flutter_tools/lib/src/tester/flutter_tester.dart 13.4% <0%> (-57.74%) ⬇️
packages/flutter_tools/lib/src/bundle.dart 31.81% <0%> (-43.94%) ⬇️
...lutter_tools/lib/src/android/android_emulator.dart 63.26% <0%> (-3.41%) ⬇️
packages/flutter_tools/lib/src/version.dart 90.9% <0%> (-1.99%) ⬇️
...ckages/flutter_tools/lib/src/base/file_system.dart 67.85% <0%> (-1.79%) ⬇️
packages/flutter_tools/lib/src/device.dart 60% <0%> (-1.77%) ⬇️
packages/flutter_tools/lib/src/dart/pub.dart 76.59% <0%> (-1.19%) ⬇️
packages/flutter_tools/lib/src/base/process.dart 87.26% <0%> (-1.18%) ⬇️
packages/flutter_tools/lib/src/ios/mac.dart 52.39% <0%> (-1.11%) ⬇️
... and 35 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cd84cea...2bc7b04. Read the comment docs.

1 similar comment
@codecov
Copy link

codecov bot commented Sep 12, 2019

Codecov Report

Merging #40368 into master will increase coverage by 0.84%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #40368      +/-   ##
==========================================
+ Coverage   58.44%   59.29%   +0.84%     
==========================================
  Files         192      192              
  Lines       18627    18549      -78     
==========================================
+ Hits        10886    10998     +112     
+ Misses       7741     7551     -190
Flag Coverage Δ
#flutter_tool 59.29% <ø> (+0.84%) ⬆️
Impacted Files Coverage Δ
...lutter_tools/lib/src/commands/update_packages.dart 3.63% <ø> (ø) ⬆️
...s/flutter_tools/lib/src/tester/flutter_tester.dart 13.4% <0%> (-57.74%) ⬇️
packages/flutter_tools/lib/src/bundle.dart 31.81% <0%> (-43.94%) ⬇️
...lutter_tools/lib/src/android/android_emulator.dart 63.26% <0%> (-3.41%) ⬇️
packages/flutter_tools/lib/src/version.dart 90.9% <0%> (-1.99%) ⬇️
...ckages/flutter_tools/lib/src/base/file_system.dart 67.85% <0%> (-1.79%) ⬇️
packages/flutter_tools/lib/src/device.dart 60% <0%> (-1.77%) ⬇️
packages/flutter_tools/lib/src/dart/pub.dart 76.59% <0%> (-1.19%) ⬇️
packages/flutter_tools/lib/src/base/process.dart 87.26% <0%> (-1.18%) ⬇️
packages/flutter_tools/lib/src/ios/mac.dart 52.39% <0%> (-1.11%) ⬇️
... and 35 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cd84cea...2bc7b04. Read the comment docs.

@jonahwilliams jonahwilliams merged commit 91af071 into flutter:master Sep 12, 2019
@jonahwilliams jonahwilliams deleted the make_dart2js_override_fail branch September 12, 2019 22:25
Inconnu08 pushed a commit to Inconnu08/flutter that referenced this pull request Sep 30, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants