Internal Compiler Error: Unable to resolve variable '__matched_value_1'. #5279
Labels
bug
Something isn't working
compiler
General compiler. Should eventually become more specific as the issue is triaged
P: critical
Should be looked at before anything else
I encountered an internal compiler error while working to add a
try_insert
method to theStorageMap
type (#5147). The error message is as follows:This occurs when trying to run the following to build the test harness:
The error seems to be with the
match
statement in thetry_insert
function. If the match statement is replaced with a bool return value, there is no error.Here is the diff of the branch with the Internal Compiler Error and master:
master...brandonsurh:sway:ICE_try_insert
This was encountered using the following versions:
The text was updated successfully, but these errors were encountered: