Revert "Reproduce panics without type annotations"

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

View File

@ -3,7 +3,9 @@ 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 ->