# this tests the runtime checking of non-nil args. # this test will need fixing when compile time checking of nil args is performed class Test def foo(s as String) pass def bar expect ArgumentNullException .foo(nil to passthrough) shared def main t as Test = Test() t.bar