GithubHelp home page GithubHelp logo

Comments (9)

lihaoyi avatar lihaoyi commented on July 19, 2024

Definitely a problem with the wrapper generation, shouldn't be too hard to fix once i have time to take a look

from ammonite.

alexarchambault avatar alexarchambault commented on July 19, 2024

Probably related to #35

from ammonite.

lihaoyi avatar lihaoyi commented on July 19, 2024

Don't try to fix this yet, I have a bunch of WIP improving the import handling (and tests) that I haven't pushed

from ammonite.

lihaoyi avatar lihaoyi commented on July 19, 2024

I pushed a576aa4 which is still kinda/sorta WIP but might (maybe?) fix some of these issues. Will take a look later

from ammonite.

alexarchambault avatar alexarchambault commented on July 19, 2024

Hope they don't conflict too much with my last PR... :)

from ammonite.

alexarchambault avatar alexarchambault commented on July 19, 2024

Ok, conflict =|

from ammonite.

alexarchambault avatar alexarchambault commented on July 19, 2024

@lihaoyi Not fixed :-| Last error is now

@ ()
Compilation Failed
Main.scala:1136: '}' expected but identifier found.
  ~?>$ => ~?>$,
     ^

from ammonite.

lihaoyi avatar lihaoyi commented on July 19, 2024

This particular one looks like an issue with the backtickWrap function not properly wrapping this, and perhaps a problem in importing things we shouldn't import (Private? Synthetic? Who knows?).

In theory we could fall-back to the old behavior and just backtick-wrap everything, but I'd prefer to instead fix-forward and fix the backtick-wrapper. The parboiled parser must be correct and if it's not we should fix it until it is (like @paulp has done for his) and import fixing can't be that hard

from ammonite.

lihaoyi avatar lihaoyi commented on July 19, 2024

This should work now https://github.com/lihaoyi/Ammonite/blob/master/repl/src/test/scala/ammonite/repl/AdvancedTests.scala#L184-L193

from ammonite.

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.