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

Issue 2338323004: Cleanup. Fix new analyzer errors due to recent strong mode changes. (Closed)

Created:
4 years, 3 months ago by Jacob
Modified:
4 years, 3 months ago
Reviewers:
Jennifer Messerly
CC:
dev-compiler+reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Cleanup. Fix new analyzer errors due to recent strong mode changes. BUG= Committed: https://github.com/dart-lang/dev_compiler/commit/7341e3d34c1809e48b35c5a9727c570f76bbbea0

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -4 lines) Patch
M pkg/dev_compiler/lib/src/compiler/code_generator.dart View 2 chunks +6 lines, -3 lines 1 comment Download
M pkg/dev_compiler/pubspec.lock View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (2 generated)
Jacob
also ran pub upgrade.
4 years, 3 months ago (2016-09-15 17:35:39 UTC) #2
Jacob
Committed patchset #1 (id:1) manually as 7341e3d34c1809e48b35c5a9727c570f76bbbea0 (presubmit successful).
4 years, 3 months ago (2016-09-15 17:45:15 UTC) #4
Jennifer Messerly
4 years, 3 months ago (2016-09-15 17:54:05 UTC) #5
Message was sent while issue was closed.
lgtm, thank you!

https://codereview.chromium.org/2338323004/diff/1/pkg/dev_compiler/lib/src/co...
File pkg/dev_compiler/lib/src/compiler/code_generator.dart (right):

https://codereview.chromium.org/2338323004/diff/1/pkg/dev_compiler/lib/src/co...
pkg/dev_compiler/lib/src/compiler/code_generator.dart:2506: code = new
JS.Block(<JS.Statement>[
btw this cast could probably go on "_visit(body) as JS.Statement", I'm guessing
that's where dynamic is coming from.

But this works too. It'll end up as 1 cast either way :)

Powered by Google App Engine
This is Rietveld 408576698