# .args. -include-nil-checks:no class X var _s as String cue init base.init # _s is left uninitialized by default def main is shared # 1. Checking class vars X() # would normally throw an exception due to _s not being initialized # 2. Checking non-nilable arguments expect NullReferenceException .foo(nil to passthrough) # would normally throw an ArgumentNullException # 3. Checking non-nil cast s as String = 'aoeu' t as String? s = t to ! # would normally throw Cobra.Cobra.NonNilCastException CobraCore.noOp(s) def foo(s as String) is shared print s.length