Bug: Thread 'main' panicked at method_application.rs: called Option::unwrap()
on a None
value
#6060
Labels
bug
Something isn't working
compiler: frontend
Everything to do with type checking, control flow analysis, and everything between parsing and IRgen
A Bug has been found in the compiler
This can be removed by changing all
.values
to.into()
s. Doesn’t apply to the newer versions of the compiler since it forces you to writeinto()
s, but worth pointing out.The above code was compilable under v0.49.3 and below (basically, you could access the .value field in the structs which is private now and not allowed under the newer versions.
You can find the forum post here
The text was updated successfully, but these errors were encountered: