summaryrefslogtreecommitdiff
path: root/tests/examplefiles/example.pony
blob: 654f2376c3d11435e921b0080126400ba2722970 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use "somepkg"

/*
 /* Nested */
*/

class trn Foo[A: Stringable ref] is Stringable
  let _x = "\""
  
  fun val dofoo() =>
    """
    DocString
    """
    (U64(2), "foo")._2

actor Main
  new create(env: Env) =>
    env.out.print("Hello world")