Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jcp19 committed Jan 20, 2025
1 parent 899e1e2 commit a3ef935
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,4 @@ trait ExternalTypeInfo {

/** returns all global variables declared in the same package as 'n' on which the declaration of 'n' depends */
def samePkgDepsOfGlobalVar(n: SymbolTable.GlobalVariable): Vector[SymbolTable.GlobalVariable]

// def dupPkgInvariants(): Vector[PExpression]

// def nonDupPkgInvariants(): Vector[PExpression]
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import viper.gobra.util.Violation
trait ProgramTyping extends BaseTyping { this: TypeInfoImpl =>

lazy val wellDefProgram: WellDefinedness[PProgram] = createWellDef {
case p@PProgram(_, staticInvs, imports, _, members) =>
case PProgram(_, staticInvs, imports, _, members) =>
// Obtains global variable declarations sorted by the order in which they appear in the file
val sortedByPosDecls: Vector[PVarDecl] = {
val unsortedDecls: Vector[PVarDecl] = members.collect{ case d: PVarDecl => d; case PExplicitGhostMember(d: PVarDecl) => d }
Expand Down

0 comments on commit a3ef935

Please sign in to comment.