-
-
Save Kilobyte22/000f0407849ad24a3556 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# valid, because only one method is extern | |
extern def a(value: String) | |
def a(value: Object) = a(value.__tostring()) |
This file contains hidden or 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
# invalid, because 2 extern methods/functions with same name | |
extern def a(value: String) | |
extern def a(value: Object) |
This file contains hidden or 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
# This is how print is defined so it can be accessed | |
extern def print(thing: Object*) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment