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

Issue 9419050: Allow to invoke fields as if they were methods. (Closed)

Created:
8 years, 10 months ago by floitsch
Modified:
8 years, 10 months ago
Reviewers:
ahe, ngeoffray
CC:
reviews_dartlang.org, ahe
Visibility:
Public.

Description

Allow to invoke fields as if they were methods. Example: var f; main() { f = () => 499; print(f()); } Committed: https://code.google.com/p/dart/source/detail?r=4365

Patch Set 1 #

Patch Set 2 : update status file. #

Total comments: 1

Patch Set 3 : update status files #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -16 lines) Patch
M frog/leg/scanner/listener.dart View 2 chunks +18 lines, -2 lines 0 comments Download
M frog/leg/ssa/builder.dart View 1 2 1 chunk +14 lines, -7 lines 0 comments Download
A frog/tests/leg_only/src/Closure7Test.dart View 1 chunk +58 lines, -0 lines 0 comments Download
M tests/co19/co19-leg.status View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M tests/language/language-leg.status View 1 2 5 chunks +0 lines, -6 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
floitsch
8 years, 10 months ago (2012-02-17 15:10:07 UTC) #1
ngeoffray
LGTM! adding Peter to let him know about the parser changes.
8 years, 10 months ago (2012-02-17 15:23:28 UTC) #2
ahe
8 years, 10 months ago (2012-02-17 17:47:43 UTC) #3
LGTM!

https://chromiumcodereview.appspot.com/9419050/diff/2001/frog/tests/leg_only/...
File frog/tests/leg_only/src/Closure7Test.dart (right):

https://chromiumcodereview.appspot.com/9419050/diff/2001/frog/tests/leg_only/...
frog/tests/leg_only/src/Closure7Test.dart:1: // Copyright (c) 2012, the Dart
project authors.  Please see the AUTHORS file
Promote this to a language test?

Powered by Google App Engine
This is Rietveld 408576698