Skip to content

Commit

Permalink
Update hkmc2/shared/src/main/scala/hkmc2/codegen/Lowering.scala
Browse files Browse the repository at this point in the history
Co-authored-by: Lionel Parreaux <lionel.parreaux@gmail.com>
  • Loading branch information
chengluyu and LPTK authored Jan 9, 2025
1 parent 9da85eb commit f2112de
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions hkmc2/shared/src/main/scala/hkmc2/codegen/Lowering.scala
Original file line number Diff line number Diff line change
Expand Up @@ -392,10 +392,7 @@ class Lowering(using TL, Raise, Elaborator.State):
case (acc, term) => acc match
case N => term.toLoc
case S(loc) => S(loc ++ term.toLoc)) ::
msg"Annotations are not supported on this ${target match
case _: LetDecl => "let declaration"
case td: TermDefinition => td.k.desc
case cls: ClassLikeDef => cls.kind.desc }." -> target.toLoc :: Nil))
Nil))


trait LoweringSelSanityChecks
Expand Down

0 comments on commit f2112de

Please sign in to comment.