Skip to content

Commit

Permalink
Fix some hints in compiler plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
robflop committed Aug 15, 2024
1 parent a087a4e commit 370052b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ class LoRePhase extends PluginPhase:
// TODO: reactiveType and argumentType are based on the type tree here, not the types written in the RHS
// Because Interactions use Tuple1 for the first parameters in the type annotation, but the RHS does not,
// this may cause issues and require fixing.
logRhsInfo(indentLevel, operandSide, s"definition of a ${loreTypeName} reactive", "")
logRhsInfo(indentLevel, operandSide, s"definition of a $loreTypeName reactive", "")
TInteraction(
reactiveType,
argumentType
Expand Down Expand Up @@ -264,10 +264,10 @@ class LoRePhase extends PluginPhase:
case SimpleType(loreTypeName, typeArgs) =>
loreTypeName match
case "Var" =>
logRhsInfo(indentLevel, operandSide, s"definition of a ${loreTypeName} reactive", "")
logRhsInfo(indentLevel, operandSide, s"definition of a $loreTypeName reactive", "")
TSource(buildLoreRhsTerm(params.head, indentLevel + 1, operandSide))
case "Signal" =>
logRhsInfo(indentLevel, operandSide, s"definition of a ${loreTypeName} reactive", "")
logRhsInfo(indentLevel, operandSide, s"definition of a $loreTypeName reactive", "")
TDerived(buildLoreRhsTerm(params.head, indentLevel + 1, operandSide))
case _ => // Interactions
logRhsInfo(indentLevel, operandSide, s"call to the $methodName method", "")
Expand Down

0 comments on commit 370052b

Please sign in to comment.