Description
Fable compiler errors out with a StackOverflowException when given a large swith expression:
let test i = function
| 1 -> "1"
| 2 -> "2"
//...
| 800 -> "800"
| _ -> "other"
Repro code
REPL
Expected and actual results
The expected result is that Fable should be able to compile the code. The actual outcome is a StackOverFlowException
Related information
- Fable version: 2.8.3
- Win10
Description
Fable compiler errors out with a StackOverflowException when given a large swith expression:
Repro code
REPL
Expected and actual results
The expected result is that Fable should be able to compile the code. The actual outcome is a StackOverFlowException
Related information