Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Igor Konnov <igor@informal.systems>
  • Loading branch information
bugarela and konnov authored Oct 16, 2023
1 parent 0297948 commit 740e712
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion quint/src/cliCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ export async function parse(loaded: LoadedStage): Promise<CLIProcedure<ParsedSta
}
return parsePhase3importAndNameResolution(phase2Data)
},
parsePhase4toposort,
phase3Data => parsePhase4toposort(phase3Data),
phase4Data => ({ ...parsing, ...phase4Data, idGen }),
result => {
if (result.errors.length > 0) {
Expand Down
1 change: 0 additions & 1 deletion quint/test/parsing/quintParserFrontend.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ function parseAndCompare(artifact: string): void {
const phase1Result = parsePhase1fromText(gen, readQuint(artifact), mainPath.toSourceName())
const phase2Result = parsePhase2sourceResolution(gen, resolver, mainPath, phase1Result)

// const { modules: modules2, sourceMap } = phase2Result

const phase3Result = parsePhase3importAndNameResolution(phase2Result)
const { modules, sourceMap, errors } = parsePhase4toposort(phase3Result)
Expand Down

0 comments on commit 740e712

Please sign in to comment.