From 1622667183ddba60b9e7618a9f4719fe4cc149f8 Mon Sep 17 00:00:00 2001 From: Xun Yang <x299yang@uwaterloo.ca> Date: Fri, 6 Mar 2020 18:09:48 -0500 Subject: [PATCH] add java.lang.Object to super set --- TheTypeNode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TheTypeNode.py b/TheTypeNode.py index 54dbdde..b75db2a 100644 --- a/TheTypeNode.py +++ b/TheTypeNode.py @@ -74,7 +74,7 @@ class TypeStruct(): # helper: get list of all super class/interface of a ClassInterNode def getSupers(classType): - result = [] + result = ["java.lang.Object"] if not classType.super: return result for s in classType.super: -- GitLab