Created
February 16, 2020 12:42
-
-
Save choplin/5af45eb6c28e77e92917039e779fae6b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
~/tmp | |
❯ git clone https://github.com/choplin/airframe-sealed-error-example | |
Cloning into 'airframe-sealed-error-example'... | |
remote: Enumerating objects: 12, done. | |
remote: Counting objects: 100% (12/12), done. | |
remote: Compressing objects: 100% (6/6), done. | |
remote: Total 12 (delta 0), reused 12 (delta 0), pack-reused 0 | |
Unpacking objects: 100% (12/12), 1015 bytes | 84.00 KiB/s, done. | |
~/tmp | |
❯ cd airframe-sealed-error-example | |
~/tmp/airframe-sealed-error-example master | |
❯ sbt compile | |
[info] Loading settings for project global-plugins from plugins.sbt ... | |
[info] Loading global plugins from /home/okuno/.sbt/1.0/plugins | |
[info] Loading project definition from /home/okuno/tmp/airframe-sealed-error-example/project | |
[warn] .env file not found (fileName=.env), no .env environment configured. | |
[info] Updating ProjectRef(uri("file:/home/okuno/tmp/airframe-sealed-error-example/project/"), "airframe-sealed-error-example-build")... | |
[info] Done updating. | |
[info] Loading settings for project root from build.sbt ... | |
[info] Set current project to airframe-sealed-error-example (in build file:/home/okuno/tmp/airframe-sealed-error-example/) | |
[warn] .env file not found (fileName=.env), no .env environment configured. | |
[info] Executing in batch mode. For better performance use sbt's shell | |
[info] Updating ... | |
[info] Done updating. | |
[info] Compiling 2 Scala sources to /home/okuno/tmp/airframe-sealed-error-example/target/scala-2.12/classes ... | |
[error] /home/okuno/tmp/airframe-sealed-error-example/src/main/scala/example/Service.scala:6:18: not found: type Adt | |
[error] val adt = bind[Adt] | |
[error] ^ | |
[error] one error found | |
[error] (Compile / compileIncremental) Compilation failed | |
[error] Total time: 1 s, completed Feb 16, 2020 9:41:39 PM | |
~/tmp/airframe-sealed-error-example master 11s | |
❯ uname -a | |
Linux Linux-2019-001 5.3.0-29-generic #31-Ubuntu SMP Fri Jan 17 17:27:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux | |
~/tmp/airframe-sealed-error-example master | |
❯ java -version | |
openjdk version "1.8.0_212" | |
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_212-b03) | |
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.212-b03, mixed mode) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment