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

Issue 3002053002: Make package:kernel's verifier pass fasta-compiled code, make fasta not return exitcode 1 for warni…

Created:
3 years, 4 months ago by kustermann
Modified:
3 years, 4 months ago
CC:
reviews_dartlang.org, dart-fe-team+reviews_google.com
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Make package:kernel's verifier pass fasta-compiled code, make fasta not return exitcode 1 for warnings

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -2 lines) Patch
M pkg/front_end/lib/src/fasta/compiler_command_line.dart View 1 chunk +1 line, -1 line 1 comment Download
M pkg/kernel/lib/verifier.dart View 1 chunk +9 lines, -1 line 2 comments Download

Messages

Total messages: 6 (2 generated)
kustermann
Because we talked about it offline and you discovered the root cause of the 'exitcode ...
3 years, 4 months ago (2017-08-21 12:52:19 UTC) #2
ahe
I discussed this with Siggi Thursday night and I distinctly remember this was more complicated ...
3 years, 4 months ago (2017-08-21 13:48:33 UTC) #4
kustermann
https://codereview.chromium.org/3002053002/diff/1/pkg/kernel/lib/verifier.dart File pkg/kernel/lib/verifier.dart (right): https://codereview.chromium.org/3002053002/diff/1/pkg/kernel/lib/verifier.dart#newcode374 pkg/kernel/lib/verifier.dart:374: if (!node.target.hasGetter && node.target is! Constructor) { On 2017/08/21 ...
3 years, 4 months ago (2017-08-21 14:43:44 UTC) #5
Siggi Cherem (dart-lang)
3 years, 4 months ago (2017-08-21 20:01:51 UTC) #6
the change in compiler_command_line lgtm, I defer to Peter or Kevin on what to
do about the Verifier, but I'm not opposed to your suggestion here.

We need to do some additional follow up work to get rid of uses of `exitCode`
elsewhere in fasta, but I'm fine doing that as a follow up.

https://codereview.chromium.org/3002053002/diff/1/pkg/front_end/lib/src/fasta...
File pkg/front_end/lib/src/fasta/compiler_command_line.dart (right):

https://codereview.chromium.org/3002053002/diff/1/pkg/front_end/lib/src/fasta...
pkg/front_end/lib/src/fasta/compiler_command_line.dart:163:
..setExitCodeOnProblem = false
since the default is false, let's simply delete this line

Powered by Google App Engine
This is Rietveld 408576698