Thread overview | ||||||
---|---|---|---|---|---|---|
|
June 11, 2021 [Issue 22015] sumtype Error: e2ir: cannot cast `...` of type `noreturn` to type `string` | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=22015 João Lourenço <jlourenco5691@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jlourenco5691@gmail.com --- Comment #1 from João Lourenço <jlourenco5691@gmail.com> --- A better workaround is: ```d string unwrap(Result r) { return r.match!( (string s) => s, function string (int) { assert(0); }, ); } ``` -- |
June 11, 2021 [Issue 22015] sumtype Error: e2ir: cannot cast `...` of type `noreturn` to type `string` | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=22015 moonlightsentinel@disroot.org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |backend CC| |moonlightsentinel@disroot.o | |rg -- |
June 11, 2021 [Issue 22015] sumtype Error: e2ir: cannot cast `...` of type `noreturn` to type `string` | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=22015 --- Comment #2 from moonlightsentinel@disroot.org --- Probably fixed in stable by https://github.com/dlang/dmd/pull/12633 -- |
June 21, 2021 [Issue 22015] sumtype Error: e2ir: cannot cast `...` of type `noreturn` to type `string` | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=22015 moonlightsentinel@disroot.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #3 from moonlightsentinel@disroot.org --- *** This issue has been marked as a duplicate of issue 21955 *** -- |
Copyright © 1999-2021 by the D Language Foundation