This repository was archived by the owner on Jun 15, 2023. It is now read-only.
This repository was archived by the owner on Jun 15, 2023. It is now read-only.
polymorphic suggestion for unhandled cases in switch uses backtick #1
Closed
Description
let withpayload = #polymorphic(3)
switch withpayload {
| #polymoprhic(c) => Js.log(c)
}
13 │
14 │ let withpayload = #polymorphic(3)
15 │ switch withpayload {
16 │ | #polymoprhic(c) => Js.log(c)
17 │ }
18 │
19 │ let array = [1,2,3]
You forgot to handle a possible case here, for example:
`polymorphic _