Skip to content
Snippets Groups Projects
Commit b5da1cb6 authored by Xun Yang's avatar Xun Yang
Browse files

null can be assign to array

parent 93cbb462
No related branches found
No related tags found
No related merge requests found
......@@ -73,6 +73,9 @@ class TypeStruct():
if right.isArray and self.name in ['java.lang.Object', 'java.lang.Cloneable', 'java.io.Serializable']:
return True
if self.isArray and right.name == 'null':
return True
return False
# helper: get list of all super class/interface of a ClassInterNode
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment