
|
If you were logged in you would be able to see more operations.
|
|
|
Boo
Created: 04/Feb/08 05:06 PM
Updated: 05/Feb/08 05:55 AM
|
|
| Component/s: |
Emitter,
Compiler
|
| Affects Version/s: |
0.8
|
| Fix Version/s: |
0.8.1
|
|
interface IFoo [of T]:
def Bar(ref i as T)
or
class Foo[of T]:
def Bar(ref i as T):
pass
causes the following compiler error...
Entering Boo.Lang.Compiler.Steps.EmitAssembly
ASSEMBLY LOADED: <dynamic>test, Version=1.0.2957.0, Culture=neutral, PublicKeyToken=null
ASSEMBLY LOADED: C:\WINDOWS\assembly\GAC_32\ISymWrapper\2.0.0.0__b03f5f7f11d50a3a\ISymWrapper.dll
Leaving Boo.Lang.Compiler.Steps.EmitAssembly
BOOC : error BCE0011: An error occurred during the execution of the step 'Boo.Lang.Compiler.Steps.EmitAssembly': 'Object reference not set to an instance of an object.'.
at Boo.Lang.Compiler.Steps.EmitAssembly.GetReferenceTypeName(Type t)
at Boo.Lang.Compiler.Steps.EmitAssembly.GetParameterTypes(ParameterDeclarationCollection parameters)
at Boo.Lang.Compiler.Steps.EmitAssembly.DefineMethod(TypeBuilder typeBuilder, Method method, MethodAttributes attributes)
at Boo.Lang.Compiler.Steps.EmitAssembly.DefineTypeMembers(TypeDefinition typeDefinition)
at Boo.Lang.Compiler.Steps.EmitAssembly.DefineTypes()
at Boo.Lang.Compiler.Steps.EmitAssembly.Run()
at Boo.Lang.Compiler.CompilerPipeline.RunStep(CompilerContext context, ICompilerStep step)
— End of inner exception stack trace —
|
|
Description
|
interface IFoo[of T]:
def Bar(ref i as T)
or
class Foo[of T]:
def Bar(ref i as T):
pass
causes the following compiler error...
Entering Boo.Lang.Compiler.Steps.EmitAssembly
ASSEMBLY LOADED: <dynamic>test, Version=1.0.2957.0, Culture=neutral, PublicKeyToken=null
ASSEMBLY LOADED: C:\WINDOWS\assembly\GAC_32\ISymWrapper\2.0.0.0__b03f5f7f11d50a3a\ISymWrapper.dll
Leaving Boo.Lang.Compiler.Steps.EmitAssembly
BOOC : error BCE0011: An error occurred during the execution of the step 'Boo.Lang.Compiler.Steps.EmitAssembly': 'Object reference not set to an instance of an object.'.
at Boo.Lang.Compiler.Steps.EmitAssembly.GetReferenceTypeName(Type t)
at Boo.Lang.Compiler.Steps.EmitAssembly.GetParameterTypes(ParameterDeclarationCollection parameters)
at Boo.Lang.Compiler.Steps.EmitAssembly.DefineMethod(TypeBuilder typeBuilder, Method method, MethodAttributes attributes)
at Boo.Lang.Compiler.Steps.EmitAssembly.DefineTypeMembers(TypeDefinition typeDefinition)
at Boo.Lang.Compiler.Steps.EmitAssembly.DefineTypes()
at Boo.Lang.Compiler.Steps.EmitAssembly.Run()
at Boo.Lang.Compiler.CompilerPipeline.RunStep(CompilerContext context, ICompilerStep step)
— End of inner exception stack trace — |
Show » |
|