You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am constructing a module via the Dafny AST C# AST, then printing it using PrintTopLevelDecls. I have a ModuleDefinition, and its TopLevelDecls are, in order, two (or more) AliasModuleDecls, and a DefaultClassDecl with the rest of the module code. The resulting pretty-printed Dafny looks like this:
module A {
import B = ...
import C = ...
function foo() ...
}
Ie, there are newlines between each of the module imports, but no newline between the last module import and the default class. Within the class, each of the declared functions have a newline between them. So before the default class is the only place at which a newline is not printed between subsequent declarations.
The text was updated successfully, but these errors were encountered:
I am constructing a module via the Dafny AST C# AST, then printing it using
PrintTopLevelDecls
. I have aModuleDefinition
, and itsTopLevelDecls
are, in order, two (or more)AliasModuleDecls
, and aDefaultClassDecl
with the rest of the module code. The resulting pretty-printed Dafny looks like this:Ie, there are newlines between each of the module imports, but no newline between the last module import and the default class. Within the class, each of the declared functions have a newline between them. So before the default class is the only place at which a newline is not printed between subsequent declarations.
The text was updated successfully, but these errors were encountered: