Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 7c2973d693
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (10 sloc) 0.164 kb
type X = {
foo(s : String) -> String
}
var x : X := object {
method foo(s : String) -> String {
s
}
}
def y : String = x.foo("Hello")
print(y)
Jump to Line
Something went wrong with that request. Please try again.