branflake2267 / dart-examples

Automatically exported from code.google.com/p/dart-examples
0 stars 0 forks source link

Cascade method calls example #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When the calls are enabled in dart add the example:

String s = (new StringBuffer()
..add('test ')
..add('1 ')
..add('2 ')
..add('3 ')
..add('4 ')
).toString();

https://groups.google.com/a/dartlang.org/forum/#!topic/misc/oFbQQkVb-MQ - 
discussion

http://code.google.com/p/dart/issues/detail?id=2501 - issues
http://code.google.com/p/dart/issues/detail?id=3729 

http://news.dartlang.org/2012/02/method-cascades-in-dart-posted-by-gilad.html - 
thread on

Original issue reported on code.google.com by branflak...@gmail.com on 28 Jun 2012 at 4:41

GoogleCodeExporter commented 9 years ago
https://docs.google.com/document/d/1U0PeHtVQHMQ8usy7xI5Luo01W5LuWR1acN5odgu_Mtw/
edit?pli=1#heading=h.nza2pujoas49

Original comment by branflak...@gmail.com on 28 Jun 2012 at 4:42