mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-08 18:34:00 +00:00
Define stubs for the generic unify and compare, to avoid errors
Estimated hours taken: 0.5 Branches: main java/library/builtin.java: Define stubs for the generic unify and compare, to avoid errors from the Java compiler when compiling automatically-generated type-specific unify and compare procedures for polymorphic types.
This commit is contained in:
@@ -26,7 +26,19 @@ public class builtin
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public static boolean unify_2_p_0(mercury.private_builtin.type_info_1 ti,
|
||||
java.lang.Object x, java.lang.Object y)
|
||||
{
|
||||
throw new Java.lang.Error("unify/3 not implemented");
|
||||
}
|
||||
|
||||
public static comparison_result_0 compare_3_p_0(
|
||||
mercury.private_builtin.type_info_1 ti,
|
||||
java.lang.Object x, java.lang.Object y)
|
||||
{
|
||||
throw new Java.lang.Error("compare/3 not implemented");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user