Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 21 lines (16 sloc) 428 Bytes
"""
exception message: false
"""
import Boo.Lang.Compiler.Ast
import Boo.Lang.Compiler.MetaProgramming
[meta]
def assert_(condition as Expression):
return [| assert $condition |]
module = [|
import System
assert_ false
|]
try:
compile(module, System.Reflection.Assembly.GetExecutingAssembly()).EntryPoint.Invoke(null, (null,))
except x:
print "exception message:", (x.InnerException or x).Message
Jump to Line
Something went wrong with that request. Please try again.