ceylon-dart icon indicating copy to clipboard operation
ceylon-dart copied to clipboard

Dart backend for Ceylon

Results 14 ceylon-dart issues
Sort by recently updated
recently updated
newest added

I am using ceylon 1.3.2 and the corresponding ceylon-dart plugin. running: `$ ./bin/ceylon assemble-dart --mode=js --out=first-assembly first` gives: ``` /tmp/ceylon-run-dart1838713660084194959/ceylon/dart/runtime/model/model.dart:836:3: Error: Unexpected token 'Function'. Function([Scope container, $dart$core.String name, $dart$core.Object typeLG,...

bug

I am using ceylon 1.3.2 and the corresponding ceylon-dart plugin. The dart backend contains a lot of code for the treatment of meta model code. But a simple program of...

Need to qualify names of declarations inside setters. Similar to #30. ```ceylon shared class C() { shared Anything v { class X() {} return null; } assign v { class...

bug

Expressions like `{ 1, *rest }`, `rest`'s evaluation should be lazy.

bug

`native` headers may provide default implementations. For example: ``` ceylon native class C() { shared String defaultMember0 => ""; native shared String defaultMember1 => ""; native shared String defaultMember2 =>...

enhancement
request for feedback

While not specified AFAICT, expressions like: ``` obj.attribute++ ``` and ``` obj.attribute += 1 ``` should evaluate `obj` only once. This especially matters if `obj` has side effects. Edit: and...

enhancement

For the implementation, we could do one of the following: 1. use a `late` indicator value (analogous to `dartDefault`) for uninitialized values, or 2. do what the Java backend does:...

enhancement
low priority

For most non-empty iterable-to-sequence operations where the iterable is not actually empty, there is a class cast exception. But this one trips up the Dart backend: ```ceylon object lyingIterable satisfies...

bug

See https://github.com/ceylon/ceylon/compare/9ecc2ebc24b8...6a9366ead75e for an example of what to do.

bug

`Future.then` ([docs](https://api.dartlang.org/stable/1.20.1/dart-async/Future/then.html)) is defined as: ``` dart Future/**/ then/**/(/*=S*/ onValue(T value), { Function onError }); ``` which results in the return type `Future` in Ceylon. Instead, we should consider hard-coding...

enhancement
interop