The hello() is not needed in the ceylon file.
When you tell the IDE or the ceylon command to run a Ceylon program, you
need to give the start function that the runtime calls as entry point.
In your case, this is shared void hello().
You seem to think that Ceylon runs the hello.ceylon file by reading the
function definition and then call the defined function (hence your
"hello()" in the source file). This is not the case.
HTH, Dirk.
Am Sat, 16 Jul 2016 04:23:06 -0700 (PDT)
schrieb omid pourhadi <
omidpo...@gmail.com>: