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

Issue 1173403002: dart2js: Fix hints in code base. (Closed)

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

Description

Patch Set 1 #

Patch Set 2 : Updated to latest revision #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -186 lines) Patch
M pkg/compiler/lib/src/closure.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/compile_time_constants.dart View 1 chunk +0 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/compiler.dart View 1 chunk +0 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/constants/constructors.dart View 1 chunk +0 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/constants/values.dart View 1 chunk +0 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/dart2jslib.dart View 2 chunks +0 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/dart_backend/backend.dart View 2 chunks +0 lines, -20 lines 0 comments Download
M pkg/compiler/lib/src/dart_backend/backend_ast_to_frontend_ast.dart View 1 chunk +0 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/dart_backend/placeholder_collector.dart View 1 chunk +0 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/dart_types.dart View 2 chunks +0 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/deferred_load.dart View 2 chunks +0 lines, -4 lines 0 comments Download
M pkg/compiler/lib/src/elements/common.dart View 1 chunk +0 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/elements/elements.dart View 1 chunk +0 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/elements/modelx.dart View 1 chunk +0 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/helpers/trace.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/inferrer/concrete_types_inferrer.dart View 1 chunk +0 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/inferrer/map_tracer.dart View 1 chunk +0 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart View 3 chunks +4 lines, -5 lines 0 comments Download
M pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart View 1 chunk +0 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/js/js.dart View 1 chunk +0 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/js/rewrite_async.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/backend.dart View 3 chunks +19 lines, -28 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/codegen/glue.dart View 1 chunk +0 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/js_backend/namer.dart View 1 chunk +0 lines, -4 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/patch_resolver.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/js_emitter.dart View 2 chunks +0 lines, -4 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/new_emitter/model_emitter.dart View 2 chunks +0 lines, -12 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/old_emitter/class_emitter.dart View 1 chunk +0 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/js_emitter/old_emitter/container_builder.dart View 1 chunk +3 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/js_emitter/old_emitter/nsm_emitter.dart View 2 chunks +0 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/parameter_stub_generator.dart View 1 chunk +0 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/js_emitter/program_builder.dart View 2 chunks +0 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart View 2 chunks +0 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/type_test_registry.dart View 1 chunk +1 line, -4 lines 0 comments Download
M pkg/compiler/lib/src/library_loader.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/native/enqueue.dart View 1 chunk +0 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/patch_parser.dart View 1 chunk +0 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/resolution/class_hierarchy.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/resolution/class_members.dart View 1 chunk +0 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/resolution/constructors.dart View 3 chunks +0 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/resolution/members.dart View 2 chunks +0 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/resolution/semantic_visitor.dart View 1 chunk +0 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/resolution/send_resolver.dart View 1 chunk +0 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/resolution/signatures.dart View 1 chunk +0 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/resolution/type_resolver.dart View 3 chunks +0 lines, -4 lines 0 comments Download
M pkg/compiler/lib/src/resolution/typedefs.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/scanner/class_element_parser.dart View 2 chunks +1 line, -2 lines 0 comments Download
M pkg/compiler/lib/src/scanner/listener.dart View 5 chunks +10 lines, -11 lines 0 comments Download
M pkg/compiler/lib/src/scanner/parser.dart View 1 chunk +1 line, -3 lines 0 comments Download
M pkg/compiler/lib/src/scanner/scannerlib.dart View 1 chunk +0 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/source_file_provider.dart View 3 chunks +2 lines, -6 lines 2 comments Download
M pkg/compiler/lib/src/ssa/builder.dart View 6 chunks +1 line, -8 lines 0 comments Download
M pkg/compiler/lib/src/ssa/codegen.dart View 3 chunks +0 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/ssa/optimize.dart View 2 chunks +1 line, -3 lines 0 comments Download
M pkg/compiler/lib/src/ssa/ssa.dart View 2 chunks +1 line, -5 lines 0 comments Download
M pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart View 3 chunks +1 line, -4 lines 0 comments Download
M pkg/compiler/lib/src/use_unused_api.dart View 2 chunks +4 lines, -3 lines 2 comments Download

Messages

Total messages: 7 (2 generated)
herhut
PTAL, This removes unused imports, unused locals and fixes some used types from the element ...
5 years, 6 months ago (2015-06-11 10:49:16 UTC) #2
karlklose
Except removing helper imports LGTM. Maybe we should put them into dart2jslib, so that they ...
5 years, 6 months ago (2015-06-11 10:56:16 UTC) #4
karlklose
On second thought, the imports are not minimal currently and are not present in every ...
5 years, 6 months ago (2015-06-11 11:09:42 UTC) #5
herhut
Committed patchset #2 (id:20001) manually as dfcadddb11a2b52f88b2eab863e74d664651fb19 (presubmit successful).
5 years, 6 months ago (2015-06-11 11:11:23 UTC) #6
herhut
5 years, 6 months ago (2015-06-11 12:48:56 UTC) #7
Message was sent while issue was closed.
I addressed the comments in 

https://codereview.chromium.org//1173423002

as I had already committed.

https://codereview.chromium.org/1173403002/diff/20001/pkg/compiler/lib/src/so...
File pkg/compiler/lib/src/source_file_provider.dart (right):

https://codereview.chromium.org/1173403002/diff/20001/pkg/compiler/lib/src/so...
pkg/compiler/lib/src/source_file_provider.dart:179: if (kind !=
api.Diagnostic.INFO) {
On 2015/06/11 10:56:16, karlklose wrote:
> Indentation.

Will do in follow-up CL...

https://codereview.chromium.org/1173403002/diff/20001/pkg/compiler/lib/src/us...
File pkg/compiler/lib/src/use_unused_api.dart (right):

https://codereview.chromium.org/1173403002/diff/20001/pkg/compiler/lib/src/us...
pkg/compiler/lib/src/use_unused_api.dart:85: 
On 2015/06/11 10:56:16, karlklose wrote:
> Revert.

Done.

Powered by Google App Engine
This is Rietveld 408576698