Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(215)

Issue 1411153005: dart2js: do typechecking even if suppressWarnings is on (Closed)

Created:
5 years, 2 months ago by Harry Terkelsen
Modified:
5 years, 2 months ago
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

dart2js: do typechecking even if suppressWarnings is on this is necessary because the type of elements will not be set unless the typechecker runs on the element. You need the type to be set even when suppressWarnings is on because in checked mode it is an error to declare a compiled constant with inconsistent field types Fixes #24653 BUG= R=sigmund@google.com Committed: https://github.com/dart-lang/sdk/commit/a4bfe1f1c7db2ad0ad71a277af5644b7e93a97d5

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M pkg/compiler/lib/src/compiler.dart View 1 chunk +3 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/typechecker.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (2 generated)
Harry Terkelsen
5 years, 2 months ago (2015-10-20 22:38:29 UTC) #2
Siggi Cherem (dart-lang)
lgtm Thanks for the quick fix !
5 years, 2 months ago (2015-10-21 00:03:44 UTC) #4
Harry Terkelsen
5 years, 2 months ago (2015-10-21 00:06:14 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
a4bfe1f1c7db2ad0ad71a277af5644b7e93a97d5 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698