We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This issue was originally filed by @butlermatt
What steps will reproduce the problem?
hello(msg, to, [from, rate]) => '${from} sent ${msg} to ${to} via ${rate}';
main() => print(hello('world', 'Seth', from:'Bob', rate:'First Class'));
(Taken from Seth Ladd's blog post on functions)
What is the expected output? What do you see instead? Expected to see: "Bob sent world to Seth via First Class"
Received: Error: line 3 pos 44: unexpected token ':' main() => print(hello('world', 'Seth', from:'Bob', rate:'First Class'));
What version of the product are you using? On what operating system? Using Pre-built SDK from: http://gsdview.appspot.com/dart-editor-archive-integration/latest/ File: dart-linux.zip (Timestamp 16-Jan-2012 18:43)
Ubuntu 11.10 64-bit
Please provide any additional information below. This works as expected in dartboard, compiles as expected with frogc.
The text was updated successfully, but these errors were encountered:
Issue #1205 has been merged into this issue.
Sorry, something went wrong.
As described in issue #1295: this happens with top-level functions that use '=>'.
Added Area-VM, Triaged labels.
This comment was originally written by @mhausner
Indeed. Fix will be out soon.
Set owner to @mhausner.
Fixed at CL 3422.
Added Fixed label.
No branches or pull requests
This issue was originally filed by @butlermatt
What steps will reproduce the problem?
hello(msg, to, [from, rate]) => '${from} sent ${msg} to ${to} via ${rate}';
main() => print(hello('world', 'Seth', from:'Bob', rate:'First Class'));
(Taken from Seth Ladd's blog post on functions)
dart Test.dart
What is the expected output? What do you see instead?
Expected to see:
"Bob sent world to Seth via First Class"
Received:
Error: line 3 pos 44: unexpected token ':'
main() => print(hello('world', 'Seth', from:'Bob', rate:'First Class'));
What version of the product are you using? On what operating system?
Using Pre-built SDK from:
http://gsdview.appspot.com/dart-editor-archive-integration/latest/
File: dart-linux.zip (Timestamp 16-Jan-2012 18:43)
Ubuntu 11.10 64-bit
Please provide any additional information below.
This works as expected in dartboard, compiles as expected with frogc.
The text was updated successfully, but these errors were encountered: