You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[wasm] Interpreter: Local variable of function pointer type emits a warning Test.Prepare: Store local stack type mismatch 0 7 #65881
Put this code in src/mono/sample/wasm/console-v8-cjs/Program.cs
usingSystem;usingSystem.Threading.Tasks;publicclassTest{publicstaticasyncTask<int>Main(string[]args){awaitTask.Delay(1);Prepare();return0;}publicunsafestaticintPrepare(){delegate*<int>value=&Prepare;Console.WriteLine($"value is {value==null}");return5;}}
build: make build MSBUILD_ARGS="-p:TreatWarningsAsErrors=false"
make run
Output:
console.debug: mono_wasm_runtime_ready fe00e07a-5519-4dfe-b35a-f867dbaf2e28
[MONO] Test.Prepare: Store local stack type mismatch 0 7
value is False
Activity
Disable failing test - dotnet#65881
lewing commentedon Mar 10, 2022
cc @SamMonoRT
BrzVlad commentedon Mar 10, 2022
isn't this fixed by #65917 ? This PR maybe asserts too aggressively however.
radical commentedon Mar 10, 2022
I made that a
g_erroronly to catch any places that might break, or have a warning. And that did fail in a runtime test - https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-65917-merge-5dd64c2e0e4841a3b8/JIT.Regression.CLR-x86-JIT.V1-M12-M13/1/console.dece4869.log?sv=2019-07-07&se=2022-03-18T10%3A59%3A19Z&sr=c&sp=rl&sig=dKxystVzZsraXvMdU%2FMMp%2FwCzLZ3SceToAOSnbTHOdE%3D[wasm] Improved error handling in debug proxy (#65828)
[wasm] Improved error handling in debug proxy (dotnet#65828)