From b2c8d6b9959c54d82b3a0e5aee55d69fde377d6f Mon Sep 17 00:00:00 2001 From: jochen Date: Fri, 12 Mar 1999 19:23:40 +0000 Subject: [PATCH] fix git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@391 379699f6-c40d-0410-875b-85095c16579e --- jode/jode/type/Type.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jode/jode/type/Type.java b/jode/jode/type/Type.java index 2979b1c..7219e84 100644 --- a/jode/jode/type/Type.java +++ b/jode/jode/type/Type.java @@ -321,10 +321,10 @@ public class Type { */ public Type intersection(Type type) { if (this == tError || type == tError) - return type; + return tError; if (this == tUnknown) return type; - if (this == type) + if (type == tUnknown || this == type) return this; Decompiler.err.println("intersecting "+ this +" and "+ type + " to ");