Skip to content
New issue

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

VM must support cascaded calls in initializer lists #6954

Closed
gbracha opened this issue Nov 26, 2012 · 7 comments
Closed

VM must support cascaded calls in initializer lists #6954

gbracha opened this issue Nov 26, 2012 · 7 comments
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.

Comments

@gbracha
Copy link
Contributor

gbracha commented Nov 26, 2012

Grammar has changed.

@DartBot
Copy link

DartBot commented Nov 26, 2012

This comment was originally written by @mhausner


Set owner to @mhausner.
Added Accepted label.

@DartBot
Copy link

DartBot commented Feb 19, 2013

This comment was originally written by @mhausner


Fixed in r17383.

@DartBot
Copy link

DartBot commented Feb 19, 2013

This comment was originally written by @mhausner


Fixed I said.


Added Fixed label.

@ghost
Copy link

ghost commented Aug 16, 2013

Reopening this bug because of still existing c019 failure:

stderr:
'file:///sources/cacao/dart/tests/co19/src/Language/07_Classes/6_Constructors/1_Generative_Constructors_A04_t15.dart': Error: line 25 pos 26: expression is not assignable
  C() : this.foo = null..12.foo(3, bar: 4)=5..bar(6)["one ugly cascade"] {}


Added Triaged label.

@iposva-google
Copy link
Contributor

Added Accepted label.

@DartBot
Copy link

DartBot commented Aug 27, 2013

This comment was originally written by @mhausner


Closing again. The cascade in comment 4 is not legal dart code. A cascade section ending with a method call is not assignable. In a simplified form, we get the same error:

Error:...: expression is not assignable
  a..foo()=3;
   ^


Added Fixed label.

@iposva-google
Copy link
Contributor

Matthias, please file a bug against co19 and update the status files to move the failure into co19-co19.status. Thanks!

@gbracha gbracha added Type-Defect area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. labels Aug 28, 2013
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
Projects
None yet
Development

No branches or pull requests

3 participants