You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New in 0.7 rev of the spec, the call operator allows your object to be invoked as if it were a function and the logic defined in the body of the operator is invoked.
// simple test with no types in signature
class A1 {
operator call() => 42;
}
Activity
DartBot commentedon Jan 26, 2012
This comment was originally written by zundel@google.com
Set owner to zundel@google.com.
DartBot commentedon Apr 5, 2012
This comment was originally written by zundel@google.com
Removed the owner.
kasperl commentedon Apr 17, 2012
Removed Area-Compiler label.
Added Area-Analyzer label.
sethladd commentedon May 7, 2012
Marked this as blocking #2931.
bwilkerson commentedon Jun 4, 2012
Added this to the M1 milestone.
Removed Priority-Medium label.
Added Priority-Low label.
anders-sandholm commentedon Jun 12, 2012
Marked this as being blocked by #2931.
gbracha commentedon Jun 12, 2012
Bear in mind that it is no longer an operator, just a magic method. See recent specs.
scheglov commentedon Jun 18, 2012
Set owner to @scheglov.
Added Accepted label.
scheglov commentedon Jun 18, 2012
https://chromiumcodereview.appspot.com/10582003
Added Started label.
scheglov commentedon Jun 18, 2012
https://code.google.com/p/dart/source/detail?r=8826
Added Fixed label.