Skip to content

Commit

Permalink
warnings from merge
Browse files Browse the repository at this point in the history
  • Loading branch information
pieter-bos committed Oct 12, 2023
1 parent a5d4e8f commit d422eaf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/colhelper/ColHelperDeserialize.scala
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ case class ColHelperDeserialize(info: ColDescription, proto: ColProto) extends C
case ser.OriginContent.V.Context(ser.Context(str, _)) => Context(str)
case ser.OriginContent.V.InlineContext(ser.InlineContext(str, _)) => InlineContext(str)
case ser.OriginContent.V.ShortPosition(ser.ShortPosition(str, _)) => ShortPosition(str)
case ser.OriginContent.V.Empty => ???
}

def deserializeProgram[G](program: ser.Program, fileName:String="<unknown>"): Program[G] =
Expand Down
2 changes: 1 addition & 1 deletion src/rewrite/vct/rewrite/InlineApplicables.scala
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ case object InlineApplicables extends RewriterBuilder {
)
)

private def InlineLetThisOrigin(): Origin = Origin(
private def InlineLetThisOrigin: Origin = Origin(
Seq(
PreferredName("self"),
Context("[At let binding for `this`]"),
Expand Down

0 comments on commit d422eaf

Please sign in to comment.