Coder Social home page Coder Social logo

Comments (6)

kazu-yamamoto avatar kazu-yamamoto commented on May 25, 2024

I confirmed that this bug exists in GHC 7.6.1, but not in GHC 7.4.1. Let's see if this bug exits in coming GHC 7.6.2.

from ghc-mod.

sp3ctum avatar sp3ctum commented on May 25, 2024

Does not occur for me either with GHC 7.4.1, ghc-mod 1.11.3, GNU Emacs 24.1.50.1.

from ghc-mod.

kazu-yamamoto avatar kazu-yamamoto commented on May 25, 2024

I tested this on GHC 7.6.2. But the same problem happens. #109 says the same thing and suggests that there is a way to fix it. I will try to find.

from ghc-mod.

kazu-yamamoto avatar kazu-yamamoto commented on May 25, 2024

I understand this problem. GHC 7.4 or earlier dumps splices directly to stderr while GHC 7.6 passes splices to ghc-mod's logger. Because its SrcLoc uses an unexpected constructor, an exception is thrown.

I will fix this. Since I need to take core of the case of mutually imported modules, it would take a time.

from ghc-mod.

kazu-yamamoto avatar kazu-yamamoto commented on May 25, 2024

Fixed in 4a5f544.

from ghc-mod.

kazu-yamamoto avatar kazu-yamamoto commented on May 25, 2024

I have released ghc-mod v 1.12.3.

from ghc-mod.

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.