Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix new import warnings #23

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/simple1.roc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ app "simple1"
imports [
cli.Stdout,
json.Core.{ jsonWithOptions },
Decode.{ DecodeResult, fromBytesPartial },
Decode.{ fromBytesPartial },
]
provides [main] to cli

Expand Down
2 changes: 1 addition & 1 deletion examples/simple2.roc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ app "simple2"
cli.Stdout,
cli.Task.{ await },
json.Core.{ jsonWithOptions },
Decode.{ DecodeResult, fromBytesPartial },
Decode.{ fromBytesPartial },
"data.json" as requestBody : List U8,
]
provides [main] to cli
Expand Down
2 changes: 1 addition & 1 deletion examples/tuple.roc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ app "simple1"
imports [
cli.Stdout,
json.Core.{ json },
Decode.{ DecodeResult, fromBytesPartial },
Decode.{ fromBytesPartial },
]
provides [main] to cli

Expand Down
4 changes: 1 addition & 3 deletions package/Core.roc
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ interface Core

imports [
Encode.{
Encoder,
EncoderFormatting,
appendWith,
},
]
Expand Down Expand Up @@ -1488,7 +1486,7 @@ decodeRecord = \initialState, stepField, finalizer -> Decode.custom \bytes, @Jso

# Build final record from decoded fields and values
when finalizer updatedRecord json is
##This step is where i can implement my special decoding of options
## This step is where i can implement my special decoding of options
Ok val -> { result: Ok val, rest }
Err e ->
{ result: Err e, rest }
Expand Down
Loading