on master help sign in
Fix missing case in CodegenJava
c2671c0Edwin Brady
src/IRTS/CodegenJava.hs+1
@@ -701,6 +701,7 @@ mkConstant c@(B64V x) = mkConstantArray (constType c) B64 x
701mkConstant c@(AType x) = ClassLit (Just $ box (constType c))
701mkConstant c@(AType x) = ClassLit (Just $ box (constType c))
702mkConstant c@(StrType ) = ClassLit (Just $ stringType)
702mkConstant c@(StrType ) = ClassLit (Just $ stringType)
703mkConstant c@(PtrType ) = ClassLit (Just $ objectType)
703mkConstant c@(PtrType ) = ClassLit (Just $ objectType)
704+mkConstant c@(ManagedPtrType) = ClassLit (Just $ objectType)
704mkConstant c@(VoidType ) = ClassLit (Just $ voidType)
705mkConstant c@(VoidType ) = ClassLit (Just $ voidType)
705mkConstant c@(Forgot ) = ClassLit (Just $ objectType)
706mkConstant c@(Forgot ) = ClassLit (Just $ objectType)
706
707