Skip to content

Commit

Permalink
Update src/main/scala/viper/gobra/frontend/info/implementation/resolu…
Browse files Browse the repository at this point in the history
…tion/MemberResolution.scala

Co-authored-by: Felix Wolf <[email protected]>
  • Loading branch information
ArquintL and Felalolf authored Jul 18, 2023
1 parent 6e21fcf commit 4fc3cc9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ trait MemberResolution { this: TypeInfoImpl =>
def getTypeChecker(importTarget: AbstractImport, errNode: PNode): Either[Messages, ExternalTypeInfo] = {
def createImportError(errs: Vector[VerifierError]): Messages = {
// create an error message located at the import statement to indicate errors in the imported package
// we distinguish between regular errors and packages whose source files could not be found (not that cyclic
// we distinguish between regular errors and packages whose source files could not be found (note that cyclic
// errors are handled before type-checking)
val notFoundErr = errs.collectFirst { case e: NotFoundError => e }
// alternativeErr is a function to compute the message only when needed
Expand Down

0 comments on commit 4fc3cc9

Please sign in to comment.