From ded4672ccca9bc74642e4da19da74e545c50b2ec Mon Sep 17 00:00:00 2001 From: Lucas Werkmeister Date: Thu, 2 Oct 2014 12:10:11 +0200 Subject: [PATCH] Update Ceylon sample file See ceylon/ceylon-spec#585 for the new annotation syntax and ceylon/ceylon-spec#574 for the new string interpolation syntax. --- samples/Ceylon/Foo.ceylon | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/samples/Ceylon/Foo.ceylon b/samples/Ceylon/Foo.ceylon index dc35686f..bc0f7ec7 100644 --- a/samples/Ceylon/Foo.ceylon +++ b/samples/Ceylon/Foo.ceylon @@ -1,13 +1,13 @@ -doc "Test function for Ceylon" -by "Enrique" +"Test function for Ceylon" +by ("Enrique") shared void test() { - print("test"); + print("test"); } -doc "Test class for Ceylon" +"Test class for Ceylon" shared class Test(name) satisfies Comparable { shared String name; - shared actual String string = "Test " name "."; + shared actual String string = "Test ``name``."; shared actual Comparison compare(Test other) { return name<=>other.name;