mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Rename samples subdirectories
This commit is contained in:
15
samples/Ceylon/Foo.ceylon
Normal file
15
samples/Ceylon/Foo.ceylon
Normal file
@@ -0,0 +1,15 @@
|
||||
doc "Test function for Ceylon"
|
||||
by "Enrique"
|
||||
shared void test() {
|
||||
print("test");
|
||||
}
|
||||
|
||||
doc "Test class for Ceylon"
|
||||
shared class Test(name) satisfies Comparable<Test> {
|
||||
shared String name;
|
||||
shared actual String string = "Test " name ".";
|
||||
|
||||
shared actual Comparison compare(Test other) {
|
||||
return name<=>other.name;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user