From 63624fd6b7f9f2563898655472025020483d398f Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Thu, 9 Nov 2017 14:19:54 -0400 Subject: - Fixed the tests. - Fixed a few bugs. - Can now translate recursion. --- new-luxc/source/luxc/lang/translation/reference.jvm.lux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'new-luxc/source/luxc/lang/translation/reference.jvm.lux') diff --git a/new-luxc/source/luxc/lang/translation/reference.jvm.lux b/new-luxc/source/luxc/lang/translation/reference.jvm.lux index c9243cae3..3e835f8e1 100644 --- a/new-luxc/source/luxc/lang/translation/reference.jvm.lux +++ b/new-luxc/source/luxc/lang/translation/reference.jvm.lux @@ -19,7 +19,7 @@ (do meta;Monad [function-class hostL;context] (wrap (|>. ($i;ALOAD +0) - ($i;GETFIELD (&;normalize-name function-class) + ($i;GETFIELD function-class (|> variable i.inc (i.* -1) int-to-nat functionT;captured) commonT;$Object))))) -- cgit v1.2.3