-
-
Notifications
You must be signed in to change notification settings - Fork 110
[Bug]: getType of JArrayRef is not element's type #1076
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
test code
class Foo {
public static void main(String[] args) {
System.out.println("1" + args[0]);
}
}
relevant code:
SootUp/sootup.core/src/main/java/sootup/core/jimple/common/ref/JArrayRef.java
Lines 84 to 88 in d6d411f
| @Override | |
| @Nonnull | |
| public Type getType() { | |
| return base.getType(); | |
| } |
I am expecting the return type of arrayref to be String instead of String[], am i right?
Version
Latest develop branch
Relevant log output
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working

