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

Issue 2638183002: Issue 28027. Move Null to the bottom in the Analyzer. (Closed)

Created:
3 years, 11 months ago by scheglov
Modified:
3 years, 11 months ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 35

Patch Set 2 : Fixes for review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+180 lines, -84 lines) Patch
M pkg/analysis_server/lib/src/services/correction/assist_internal.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/lib/src/services/correction/fix_internal.dart View 1 1 chunk +4 lines, -1 line 0 comments Download
M pkg/analysis_server/lib/src/services/correction/util.dart View 1 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analysis_server/test/completion_test.dart View 2 chunks +2 lines, -4 lines 0 comments Download
M pkg/analysis_server/test/services/correction/assist_test.dart View 1 1 chunk +9 lines, -0 lines 0 comments Download
M pkg/analysis_server/test/services/correction/fix_test.dart View 1 1 chunk +18 lines, -0 lines 0 comments Download
M pkg/analyzer/lib/src/dart/element/type.dart View 1 chunk +6 lines, -0 lines 0 comments Download
M pkg/analyzer/lib/src/generated/element_resolver.dart View 3 chunks +3 lines, -3 lines 0 comments Download
M pkg/analyzer/lib/src/generated/error_verifier.dart View 3 chunks +19 lines, -5 lines 0 comments Download
M pkg/analyzer/lib/src/generated/resolver.dart View 1 4 chunks +12 lines, -4 lines 0 comments Download
M pkg/analyzer/lib/src/generated/static_type_analyzer.dart View 1 6 chunks +22 lines, -15 lines 0 comments Download
M pkg/analyzer/lib/src/generated/testing/test_type_provider.dart View 1 chunk +1 line, -0 lines 0 comments Download
M pkg/analyzer/lib/src/generated/type_system.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analyzer/lib/src/summary/link.dart View 1 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/analyzer/lib/src/task/dart.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M pkg/analyzer/lib/src/task/strong_mode.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M pkg/analyzer/test/generated/hint_code_test.dart View 1 chunk +0 lines, -10 lines 0 comments Download
M pkg/analyzer/test/generated/non_error_resolver_test.dart View 2 chunks +13 lines, -0 lines 0 comments Download
M pkg/analyzer/test/generated/non_hint_code_test.dart View 1 chunk +10 lines, -0 lines 0 comments Download
M pkg/analyzer/test/generated/resolver_test.dart View 1 2 chunks +31 lines, -0 lines 0 comments Download
M pkg/analyzer/test/generated/static_type_analyzer_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analyzer/test/generated/static_type_warning_code_test.dart View 1 2 chunks +13 lines, -11 lines 0 comments Download
M pkg/analyzer/test/src/task/dart_test.dart View 1 chunk +4 lines, -4 lines 0 comments Download
M pkg/analyzer/test/src/task/strong/inferred_type_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/language/language.status View 1 chunk +0 lines, -5 lines 0 comments Download
M tests/language/language_analyzer2.status View 1 chunk +0 lines, -9 lines 0 comments Download
M tests/language/null_bottom_test.dart View 1 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
scheglov
3 years, 11 months ago (2017-01-17 21:35:15 UTC) #1
Brian Wilkerson
https://codereview.chromium.org/2638183002/diff/1/pkg/analyzer/lib/src/generated/error_verifier.dart File pkg/analyzer/lib/src/generated/error_verifier.dart (right): https://codereview.chromium.org/2638183002/diff/1/pkg/analyzer/lib/src/generated/error_verifier.dart#newcode5492 pkg/analyzer/lib/src/generated/error_verifier.dart:5492: staticReturnType.isBottom || I don't understand when we need to ...
3 years, 11 months ago (2017-01-17 21:53:01 UTC) #2
scheglov
https://codereview.chromium.org/2638183002/diff/1/pkg/analyzer/lib/src/generated/error_verifier.dart File pkg/analyzer/lib/src/generated/error_verifier.dart (right): https://codereview.chromium.org/2638183002/diff/1/pkg/analyzer/lib/src/generated/error_verifier.dart#newcode5492 pkg/analyzer/lib/src/generated/error_verifier.dart:5492: staticReturnType.isBottom || On 2017/01/17 21:53:01, Brian Wilkerson wrote: > ...
3 years, 11 months ago (2017-01-17 21:54:18 UTC) #3
Brian Wilkerson
https://codereview.chromium.org/2638183002/diff/1/pkg/analyzer/lib/src/generated/error_verifier.dart File pkg/analyzer/lib/src/generated/error_verifier.dart (right): https://codereview.chromium.org/2638183002/diff/1/pkg/analyzer/lib/src/generated/error_verifier.dart#newcode5492 pkg/analyzer/lib/src/generated/error_verifier.dart:5492: staticReturnType.isBottom || Is it true, then, that bottom can ...
3 years, 11 months ago (2017-01-17 21:59:29 UTC) #4
scheglov
https://codereview.chromium.org/2638183002/diff/1/pkg/analyzer/lib/src/generated/error_verifier.dart File pkg/analyzer/lib/src/generated/error_verifier.dart (right): https://codereview.chromium.org/2638183002/diff/1/pkg/analyzer/lib/src/generated/error_verifier.dart#newcode5492 pkg/analyzer/lib/src/generated/error_verifier.dart:5492: staticReturnType.isBottom || On 2017/01/17 21:59:29, Brian Wilkerson wrote: > ...
3 years, 11 months ago (2017-01-17 22:07:23 UTC) #5
Paul Berry
https://codereview.chromium.org/2638183002/diff/1/tests/language/null_bottom_test.dart File tests/language/null_bottom_test.dart (right): https://codereview.chromium.org/2638183002/diff/1/tests/language/null_bottom_test.dart#newcode116 tests/language/null_bottom_test.dart:116: fun2(null).abs(); Am I reading correctly that this no longer ...
3 years, 11 months ago (2017-01-17 22:32:09 UTC) #6
Brian Wilkerson
In the places where my expectations are wrong (we can't actually see or don't need ...
3 years, 11 months ago (2017-01-17 22:41:24 UTC) #7
Leaf
https://codereview.chromium.org/2638183002/diff/1/pkg/analyzer/lib/src/generated/error_verifier.dart File pkg/analyzer/lib/src/generated/error_verifier.dart (right): https://codereview.chromium.org/2638183002/diff/1/pkg/analyzer/lib/src/generated/error_verifier.dart#newcode5492 pkg/analyzer/lib/src/generated/error_verifier.dart:5492: staticReturnType.isBottom || On 2017/01/17 22:07:23, scheglov wrote: > On ...
3 years, 11 months ago (2017-01-18 00:48:22 UTC) #9
scheglov
PTAL https://codereview.chromium.org/2638183002/diff/1/pkg/analysis_server/lib/src/services/correction/assist_internal.dart File pkg/analysis_server/lib/src/services/correction/assist_internal.dart (right): https://codereview.chromium.org/2638183002/diff/1/pkg/analysis_server/lib/src/services/correction/assist_internal.dart#newcode339 pkg/analysis_server/lib/src/services/correction/assist_internal.dart:339: if (type == null || type.isDynamic || type.isDartCoreNull) ...
3 years, 11 months ago (2017-01-18 02:10:51 UTC) #10
Brian Wilkerson
lgtm
3 years, 11 months ago (2017-01-18 14:51:10 UTC) #11
scheglov
3 years, 11 months ago (2017-01-18 19:15:18 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
0160332713fb955916deac2b216f2e872f3b479b (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698