mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-12 23:50:20 +03:00
Reproduce panics without type annotations
This commit is contained in:
parent
e1c8b59908
commit
5b63ef142d
@ -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 ->
|
||||
|
Loading…
Reference in New Issue
Block a user