Comments (1)
I don't have a good fix for this, unfortunately. The issue stems from the datatype line being identified as a function starter. This could be changed, though indenting continuation lines of datatypes properly would be tricky.
I currently handle all of "class" "codatatype" "colemma" "constructor" "copredicate" "datatype" "function" "iterator" "lemma" "method" "newtype" "predicate" "trait" "type" "function method" "predicate method"
uniformly; they sould probably be split into two groups (indent vs no indent). If so, then the Bar
in your example would not be indented at all (which is arguably better than indenting everything after it :)
Of course, there are ugly workarounds: you can put an empty comment in front of the datatype
line. Or you can reindent lemma
manually with shift-tab
, and then the rest of the file will be fine.
from boogie-friends.
Related Issues (20)
- feature request: scope interactive verification, akin to /proc: on the command-line HOT 3
- dafny-mode fails to parse warnings HOT 8
- feature suggestion: parse Dafny/Boogie error strings in M-x compile mode HOT 2
- Flycheck appears to report success when verification times out HOT 6
- Could not start checker for Dafny HOT 13
- Easy way to have flycheck detect that current file is in the Dafny or Boogie test suite? HOT 2
- Flycheck ignores Boogie errors if they lack proper location information HOT 4
- Extract proper filename for flycheck on related locations in refining modules
- Move temporary file for current buffer outside current folder HOT 10
- flycheck syntax checker doesn't work in Emacs on Mac OS X 10.10, suspicious state from syntax checker dafny HOT 2
- Strange indentation/whitespace in Boogie mode HOT 2
- Auto-formatting in calc
- Bug: Flycheck & Compilation cannot find .NET Core on Mac OS 11.6 HOT 5
- forall statement visually looks like forall expression
- No syntax errors when using Dafny server HOT 8
- When using `include`, helpful "this is the precondition that might not hold" information is missing from flycheck errors HOT 1
- Consider documenting the value of /printTooltips HOT 1
- Flycheck seems to report success when error is in included file HOT 5
- indentation of case with dafny-mode in emacs 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 boogie-friends.