From c38fa74c304ee2d749fd58afae3b810b4ff83219 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Tue, 28 Jul 2015 12:00:18 -0400 Subject: [PATCH] contrib/jwrapper: fix == between arrays of different dimensions MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- contrib/jwrapper/src/model.nit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/jwrapper/src/model.nit b/contrib/jwrapper/src/model.nit index 5864472..25d9cd2 100644 --- a/contrib/jwrapper/src/model.nit +++ b/contrib/jwrapper/src/model.nit @@ -144,7 +144,7 @@ class JavaType # Comparison based on fully qualified named redef fun ==(other) do return other isa JavaType and self.package_name == other.package_name and - self.is_primitive_array == other.is_primitive_array + self.array_dimension == other.array_dimension redef fun hash do return self.package_name.hash end -- 1.7.9.5