Skip to content

Commit

Permalink
fix: classify type parameters as defined types
Browse files Browse the repository at this point in the history
  • Loading branch information
koflin committed Aug 18, 2023
1 parent 477ec98 commit ed2d5a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ trait UnderlyingType { this: TypeInfoImpl =>
// uint uint8 uint16 uint32 uint64 uintptr
t match {
// should be extended as new types are added to the language
case _: IntT | BooleanT | _: DeclaredT | StringT => true
case _: IntT | BooleanT | _: DeclaredT | StringT | _: TypeParameterT => true
case _ => false
}
}
Expand Down

0 comments on commit ed2d5a7

Please sign in to comment.