Details
Description
This program causes booc to generate invalid IL:
def X(i as int?):
print i
X(42)
Generated IL:
...
L_001d: ldc.i4 42
L_0022: call void ProgramModule::X(valuetype [mscorlib]System.Nullable`1<int32>)
PEVerify output:
[IL]: Error: [C:\temp\test.exe :ProgramModule::Main][offset 0x00000022][found Int32][expected value 'System.Nullable`1[System.Int32]'] Unexpected type on the stack.
Fixed in rev. 3099