Giter Site home page Giter Site logo

Comments (5)

cpitclaudel avatar cpitclaudel commented on July 18, 2024

Thanks. Just to clarify, this is distinct from #5, right?

I think the bug is probably in the Dafny server.

from boogie-friends.

cpitclaudel avatar cpitclaudel commented on July 18, 2024

I think the bug is probably in the Dafny server.

Actually, scratch that, at least in part. The error is properly reported, but it's discarded by Flycheck, because Flycheck discards errors in included files. flycheck/flycheck#972 was going to fix this, but the contributor didn't complete the implementation :/

There's an easy fix that can be implemented on the Dafny side. In addition to reporting the original error in A.dfy, Dafny could report an error in B.dfy on the include line, saying something like "Error: B.dfy has syntax errors".

Then that error would appear when verifying B.dfy.

from boogie-friends.

plaidfinch avatar plaidfinch commented on July 18, 2024

flycheck/flycheck#972 was going to fix this, but the contributor didn't complete the implementation :/

That's frustrating.

There's an easy fix that can be implemented on the Dafny side. In addition to reporting the original error in A.dfy, Dafny could report an error in B.dfy on the include line, saying something like "Error: B.dfy has syntax errors".

Sounds good to me! I've filed dafny-lang/dafny#16 documenting this proposed solution.

from boogie-friends.

cpitclaudel avatar cpitclaudel commented on July 18, 2024

flycheck/flycheck#972 was going to fix this, but the contributor didn't complete the implementation :/

That's frustrating.

Indeed :) If you're curious about ELisp, this could be a nice starting project!

from boogie-friends.

cpitclaudel avatar cpitclaudel commented on July 18, 2024

This is fixed now

from boogie-friends.

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.