Skip to content

[wasm][coreclr] bc.GenericVirtualMethod<string> failing in the interpreter test #120319

@radekdoulik

Description

@radekdoulik

It fails with

...
bc.GenericVirtualMethod<string>
ASSERT FAILED
        Expression: !"Precode::GetPrecodeFromEntryPoint is not supported with Portable EntryPoints"
        Location:   line 170 in /Users/rodo/git/runtime-main/src/coreclr/vm/precode_portable.cpp
        Function:   GetPrecodeFromEntryPoint
        Process:    42
Frame (InterpreterFrame): 0x4fecac
   0) InterpreterTest::TestVirtual, IR_00e3
   1) InterpreterTest::RunInterpreterTests, IR_04ee
   2) InterpreterTest::Main, IR_0029

the failing part

        Console.WriteLine("bc.GenericVirtualMethod<string>");
        retType = bc.GenericVirtualMethod<string>(out isBase);
        if (retType != typeof(string) || isBase)
            return false;

Also itest.GenericVirtualMethod<string> is failing the same way.

Metadata

Metadata

Type

No type

Projects

Status

No status

Relationships

None yet

Development

No branches or pull requests

Issue actions