Created
July 11, 2019 12:44
-
-
Save BendingBender/9dcf26cab49b9b85e62bdc9e9f9326d0 to your computer and use it in GitHub Desktop.
SSCCE for "I ran into something that bypassed the normal error reporting process" error in 0.19.1-alpha
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
{ | |
"type": "application", | |
"source-directories": [ | |
"src", | |
"src-gen" | |
], | |
"elm-version": "0.19.1", | |
"dependencies": { | |
"direct": { | |
"elm/browser": "1.0.1", | |
"elm/core": "1.0.2", | |
"elm/html": "1.0.0" | |
}, | |
"indirect": { | |
"elm/json": "1.1.3", | |
"elm/time": "1.0.0", | |
"elm/url": "1.0.0", | |
"elm/virtual-dom": "1.0.2" | |
} | |
}, | |
"test-dependencies": { | |
"direct": {}, | |
"indirect": {} | |
} | |
} |
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
-- src-gen/Main.elm | |
module Main exposing (main) | |
import Browser | |
import Html exposing (Html, button, div, text) | |
main = | |
Browser.sandbox { init = 0, update = update, view = view } | |
update msg model = | |
model | |
view = always <| text "foo" |
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
-- src/Main.elm | |
module Main exposing (main) | |
import Browser | |
import Html exposing (Html, button, div, text) | |
main = | |
Browser.sandbox { init = 0, update = update, view = view } | |
update msg model = | |
model | |
view = always <| text "foo" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment