From e77b2bf8b120cb533c8114fc73500f1cff41d502 Mon Sep 17 00:00:00 2001 From: Richard Feldman Date: Thu, 14 Jul 2022 20:20:34 -0400 Subject: [PATCH] Reproduce confusing error message To reproduce: `cargo run -- check examples/interactive/cli-platform/main.roc` --- examples/interactive/cli-platform/Effect.roc | 2 +- examples/interactive/cli-platform/Http.roc | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/examples/interactive/cli-platform/Effect.roc b/examples/interactive/cli-platform/Effect.roc index e29fd147a3..8a3e89e675 100644 --- a/examples/interactive/cli-platform/Effect.roc +++ b/examples/interactive/cli-platform/Effect.roc @@ -1,6 +1,6 @@ hosted Effect exposes [Effect, after, map, always, forever, loop, putLine, getLine, sendRequest] - imports [HttpTypes.{ Request, Response }] + imports [Http.{ Request, Response }] generates Effect with [after, map, always, forever, loop] putLine : Str -> Effect {} diff --git a/examples/interactive/cli-platform/Http.roc b/examples/interactive/cli-platform/Http.roc index 1211521185..5c5d615b19 100644 --- a/examples/interactive/cli-platform/Http.roc +++ b/examples/interactive/cli-platform/Http.roc @@ -14,9 +14,6 @@ interface Http send, ] imports [ - Effect, - InternalTask, - Task, Encode.{ Encoding }, HttpTypes.{ Request, Header, TimeoutConfig, TrackerConfig, Part, Body, Response, Metadata, Error }, ]