diff options
author | Eduardo Julian | 2017-04-05 17:55:51 -0400 |
---|---|---|
committer | Eduardo Julian | 2017-04-05 17:55:51 -0400 |
commit | d6ce01f22aa14386758adf2b7b9e7b2e47bd4e2b (patch) | |
tree | de14e24ebb85c906626acd0660069ad2c1d85d55 /luxc/src/lux/compiler/jvm/rt.clj | |
parent | c9db1d195fc45ab296e11ab63e428d53708ab689 (diff) |
- Made some improvements to error messages in the compiler.
Diffstat (limited to '')
-rw-r--r-- | luxc/src/lux/compiler/jvm/rt.clj | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/luxc/src/lux/compiler/jvm/rt.clj b/luxc/src/lux/compiler/jvm/rt.clj index 9bc94427e..5d3a1ad09 100644 --- a/luxc/src/lux/compiler/jvm/rt.clj +++ b/luxc/src/lux/compiler/jvm/rt.clj @@ -254,7 +254,7 @@ ;; done to ensure variants were never created with null ;; values (this would interfere later with ;; pattern-matching). - ;; Since Lux itself doesn't have null values as part of + ;; Since Lux itself does not have null values as part of ;; the language, the burden of ensuring non-nulls was ;; shifted to library code dealing with host-interop, to ;; ensure variant-making was as fast as possible. @@ -285,7 +285,7 @@ ;; (.visitLabel $is-null) ;; (.visitTypeInsn Opcodes/NEW "java/lang/IllegalStateException") ;; (.visitInsn Opcodes/DUP) - ;; (.visitLdcInsn "Can't create variant for null pointer") + ;; (.visitLdcInsn "Cannot create variant for null pointer") ;; (.visitMethodInsn Opcodes/INVOKESPECIAL "java/lang/IllegalStateException" "<init>" "(Ljava/lang/String;)V") ;; (.visitInsn Opcodes/ATHROW) (.visitMaxs 0 0) |