GithubHelp home page GithubHelp logo

Adding support for compiler flags about tut HOT 5 CLOSED

tpolecat avatar tpolecat commented on September 7, 2024
Adding support for compiler flags

from tut.

Comments (5)

tpolecat avatar tpolecat commented on September 7, 2024

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.

tpolecat avatar tpolecat commented on September 7, 2024

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.

nrinaudo avatar nrinaudo commented on September 7, 2024

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.

tpolecat avatar tpolecat commented on September 7, 2024

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.

tpolecat avatar tpolecat commented on September 7, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.