Comments (5)
Nope, that's a bug. I need to propagate the settings from scalacOptions in (Compile, doc)
down into the nested interpreter. For now you can bring that thing into scope (or in this particular case just use tut:silent
to discard the REPL noise altogether).
Thanks!
from tut.
Also I just noticed that the README had 0.3.0
as the version in the snippet ... make sure you're using 0.3.1
, it's much better.
from tut.
I was actually already running 0.3.1 - I discovered tut while going through cats' code, and that already used the latest version.
I have another issue which might be related, but I'm not sbt-savvy enough to know for sure. Compiler plugins are not propagated either - in particular, I'm using kind-projector, but can't get tut to understand the type lambda syntax. Is it the same issue, or should I open a new ticket?
from tut.
Yeah I ran into the KP issue as well. If you could file an issue that would be great. It may end up being the same problem but I'm not sure.
from tut.
I looked at this over lunch and I seem to have a fix for both this and #18. Like everything with SBT it was confusing as hell but in the end it was just a few lines of code. I'll clean it up tonight and if all goes well I'll burn a new version this weekend.
Thanks again for the suggestions!
from tut.
Related Issues (20)
- `scripted` tests broken on `series/0.6.x` branch HOT 2
- Garbage collector issue when the ScalaJS plugin is enabled
- Publish to Maven Central HOT 13
- tutQuick return value
- Add golden testing
- Mixed messages in docs about `Test` classpath
- Tut doesn't play nice with scalaVersion HOT 3
- release on 2.12.6
- Inadvertent stripMargin pre-processing of code listing HOT 2
- Multiline statements with leading dot HOT 1
- publish for 2.13.0-M5 HOT 1
- Upgrading sbt plugin from 0.6.7 to 0.6.8 causes ClassCastException HOT 10
- Monix.io can no longer compile starting with Tut 0.6.4 HOT 2
- `scribe-2.7.0` binary issues with `tut-0.6.9` HOT 6
- comments with 2.13 HOT 10
- Incompatible with `sbt-1.3.0-RC1` HOT 11
- NoSuchMethod error when `scalaVersion := 2.12.8`
- Generate PDF file HOT 2
- Cross compile with the full Scala version. (support Scala 2.13.1) HOT 2
- How to import tut plugin to my project? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tut.