import Boo.Lang.Compiler.Ast
def test(e as Expression):
code = [| a as $e |] // expression being used as type reference
print code.ToCodeString()
test([| Foo |]) // reference
test([| Foo.Bar |]) // member reference
test([| typeof(Foo.Bar) |]) // typeof
test([| List of int |]) // generic reference
Description
import Boo.Lang.Compiler.Ast
def test(e as Expression):
code = [| a as $e |] // expression being used as type reference
print code.ToCodeString()
test([| Foo |]) // reference
test([| Foo.Bar |]) // member reference
test([| typeof(Foo.Bar) |]) // typeof
test([| List of int |]) // generic reference