### Description Transpiled comparison of `Some List` and `None` fails, as the equality tries to compare fields which don't exist on None. ### Repro code #### test.fsx ```fsharp Some [1;2;3] = None ``` #### test.cmd ```shell dotnet fable . --lang python python test.py ``` ### Expected and actual results Expected result: should return `false` Actual result: `AttributeError: 'NoneType' object has no attribute 'tail'` ### Related information * `dotnet fable --version`: 4.5.0 * `dotnet tool list/update/install`: 4.6.0 * Windows11 @freymaurer
Activity
Fix comparaison between optional list when one is None
Fix comparaison between optional list when one is None