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

Issue 2949093002: Properly type infer for-in loops when the iterator type is a type parameter. (Closed)

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

Description

Properly type infer for-in loops when the iterator type is a type parameter. Also, fix a minor bug in variable declaration inference that was preventing a local variable without an initializer from having its type properly "inferred" as `dynamic`. R=sigmund@google.com Committed: https://github.com/dart-lang/sdk/commit/348b42c98bc23ec5332fd2ca62302e76192889ec

Patch Set 1 #

Total comments: 2

Messages

Total messages: 7 (2 generated)
Paul Berry
3 years, 6 months ago (2017-06-21 20:35:05 UTC) #2
Siggi Cherem (dart-lang)
lgtm
3 years, 6 months ago (2017-06-21 21:05:09 UTC) #3
Siggi Cherem (dart-lang)
https://codereview.chromium.org/2949093002/diff/1/pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart File pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart (right): https://codereview.chromium.org/2949093002/diff/1/pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart#newcode2060 pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart:2060: resolved = resolveOneStep(hare); random optional idea here - it ...
3 years, 6 months ago (2017-06-21 21:12:10 UTC) #4
Paul Berry
https://codereview.chromium.org/2949093002/diff/1/pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart File pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart (right): https://codereview.chromium.org/2949093002/diff/1/pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart#newcode2060 pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart:2060: resolved = resolveOneStep(hare); On 2017/06/21 21:12:10, Siggi Cherem (dart-lang) ...
3 years, 6 months ago (2017-06-21 21:44:16 UTC) #5
Paul Berry
3 years, 6 months ago (2017-06-21 21:47:01 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
348b42c98bc23ec5332fd2ca62302e76192889ec (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698