-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minimal working example that demonstrates problem
This builds against `lts-15.0` with GHC 8.8.2; unfortunately **ghcide** segfaults when checking it for errors. Demonstrates https://github.com/digital-asset/ghcide/issues/444 as requested by @mpickering whose help we hugely appreciate.
- Loading branch information
Showing
3 changed files
with
12 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
cradle: {stack: {component: "hello:test:check" }} | ||
cradle: {stack: {component: "hello:exe:hello" }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,19 @@ | ||
{-# LANGUAGE OverloadedStrings #-} | ||
{-# LANGUAGE TemplateHaskell #-} | ||
{-# OPTIONS_GHC -fno-warn-unused-imports #-} | ||
|
||
module Main where | ||
|
||
import Core.Program | ||
|
||
version :: Version | ||
version = $(fromPackage) | ||
|
||
main :: IO () | ||
main = execute $ do | ||
main = do | ||
context <- configure version None blank | ||
executeWith context program | ||
|
||
program :: Program None () | ||
program = do | ||
write "Hello World" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1 @@ | ||
resolver: lts-14.22 | ||
|
||
extra-deps: | ||
- core-text-0.2.3.3 | ||
- core-data-0.2.1.5 | ||
- core-program-0.2.4.2 | ||
|
||
resolver: lts-15.0 |