Reproduce panics without type annotations

This commit is contained in:
Ayaz Hafiz 2022-08-08 17:36:06 -07:00
parent e1c8b59908
commit 5b63ef142d
No known key found for this signature in database
GPG Key ID: 0E2A37416A25EF58

View File

@ -3,9 +3,7 @@ app "helloWorld"
imports [Decode, Decode.{Decoder, Decoding, DecoderFormatting}, Json]
provides [main] to pf
theDecoder : Decoder {first: a, second: b} fmt | a has Decoding, b has Decoding, fmt has DecoderFormatting
theDecoder =
initialState : {f0: Result a [NoField], f1: Result b [NoField]}
initialState = {f0: Err NoField, f1: Err NoField}
stepField = \state, field ->