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 21 lines (16 sloc) 0.428 kB
"""
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.