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

Issue 8438042: https://code.google.com/p/dart/issues/detail?id=182 (Closed)

Created:
9 years, 1 month ago by fabiomfv
Modified:
9 years, 1 month ago
Reviewers:
mmendez
CC:
reviews_dartlang.org
Visibility:
Public.

Description

https://code.google.com/p/dart/issues/detail?id=182 Dart Spec, section "Type Void" (excerpt): "On the other hand, it is possible to return the result of a void method from within a void method. One can also return null; or a value of type Dynamic. Returning any other result will cause a type warning (or a dynamic type error in checked mode)." (only reference to the subject - non-normative) Committed: https://code.google.com/p/dart/source/detail?r=1200

Patch Set 1 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -16 lines) Patch
M compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java View 1 chunk +0 lines, -1 line 0 comments Download
M compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java View 1 chunk +1 line, -9 lines 0 comments Download
M compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java View 2 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
fabiomfv
9 years, 1 month ago (2011-11-02 17:38:33 UTC) #1
mmendez
9 years, 1 month ago (2011-11-03 14:38:04 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698