-
-
Save lucaswerkmeister/d7567baf4616874619392cfe9830767e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shared T f<T>(T t){ | |
return t; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package tmp2; | |
import tmp2.f_; | |
import ceylon.language.Integer; | |
public class G { | |
public static void g() { | |
System.out.println(f_.f(Integer.$TypeDescriptor$, Integer.instance(1))); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
native ("jvm") module tmp2 "1.0.0" { | |
import java.base "7"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package tmp2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shared void run() => G.g(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(In case it’s not clear, these should all go in
$projectRoot/source/tmp2/
, and then you canceylon compile,run tmp2
from$projectRoot
.)