Open lucaswerkmeister opened 8 years ago
Anything a = (print)("");
source/tmp/run.ceylon:1: error: incompatible types Anything a = (print)(""); ^ required: Object found: void
source/tmp/run.ceylon:1: error: incompatible types
Anything a = (print)(""); ^
required: Object found: void
Found while investigating ceylon/ceylon-spec#1456.
As always, generated code, @noanno’d.
@noanno
Here’s the generated code for the unwrapped version: gist.
The compiler generates a let expression returning null.
let
null
Perhaps somewhat related to https://github.com/ceylon/ceylon-compiler/issues/2387
Found while investigating ceylon/ceylon-spec#1456.
As always, generated code,
@noanno
’d.