From: jsimomaa Date: Thu, 14 Dec 2017 06:12:31 +0000 (+0200) Subject: Adding builtin type for Class in SCL so fix Update.scl X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F19%2F1319%2F1;p=simantics%2Finterop.git Adding builtin type for Class in SCL so fix Update.scl refs #7681 Change-Id: Id4f648a50e4c53b429e0ce0d67017e87f0baa2b4 --- diff --git a/org.simantics.interop.update/scl/Interop/Update.scl b/org.simantics.interop.update/scl/Interop/Update.scl index 40d61b5..31eaff2 100644 --- a/org.simantics.interop.update/scl/Interop/Update.scl +++ b/org.simantics.interop.update/scl/Interop/Update.scl @@ -218,13 +218,12 @@ importJava "java.lang.Object" where data Object @JavaName getClass - getClass :: Object -> Class + getClass :: Object -> Class a importJava "java.lang.Class" where - data Class @JavaName getName - getClassName :: Class -> String + getClassName :: Class a -> String @JavaName getSimpleName - getSimpleClassName :: Class -> String \ No newline at end of file + getSimpleClassName :: Class a -> String