diff options
Diffstat (limited to 'stdlib/source/lux/target/jvm/reflection.lux')
-rw-r--r-- | stdlib/source/lux/target/jvm/reflection.lux | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/stdlib/source/lux/target/jvm/reflection.lux b/stdlib/source/lux/target/jvm/reflection.lux index e52395dc3..89f759dcb 100644 --- a/stdlib/source/lux/target/jvm/reflection.lux +++ b/stdlib/source/lux/target/jvm/reflection.lux @@ -10,6 +10,8 @@ [parser ["<t>" text]]] [data + [number + ["n" nat]] ["." text ("#@." equivalence) ["%" format (#+ format)]] [collection @@ -264,7 +266,7 @@ num-class-params (list.size class-params) num-type-params (list.size params)] (if (text@= class-name name) - (if (n/= num-class-params num-type-params) + (if (n.= num-class-params num-type-params) (|> params (list.zip2 (list@map (|>> java/lang/reflect/TypeVariable::getName) class-params)) |