Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 27 lines (21 sloc) 0.416 kB
"""
18
Foo.ToString
"""
interface CustomClass:
LineNumber as int:
get
macro custom_class(name as Boo.Lang.Compiler.Ast.ReferenceExpression):
yield [|
class $name(CustomClass):
$(custom_class.Body)
LineNumber:
get: return $(custom_class.LexicalInfo.Line)
|]
custom_class Foo:
override def ToString():
return "Foo.ToString"
f = Foo()
assert f isa CustomClass
print f.LineNumber
print f
Jump to Line
Something went wrong with that request. Please try again.