From 0cc3eae2cb186b9ae5e53072bc4ac724355a5ab0 Mon Sep 17 00:00:00 2001 From: Ayaz Hafiz Date: Mon, 8 Aug 2022 17:36:21 -0700 Subject: [PATCH] Revert "Reproduce panics without type annotations" This reverts commit 0c82ba955094be0f454d952066576f8daee94c83. --- examples/hello-world/main.roc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/hello-world/main.roc b/examples/hello-world/main.roc index 3ce1117db0..f89cf66391 100644 --- a/examples/hello-world/main.roc +++ b/examples/hello-world/main.roc @@ -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 ->