Maybe null here was in fact right?
All checks were successful
Build and Test with Maven / Build-and-test-with-Maven (push) Successful in 2m43s
All checks were successful
Build and Test with Maven / Build-and-test-with-Maven (push) Successful in 2m43s
This commit is contained in:
parent
0acfe6c0d4
commit
518f58e08f
@ -564,7 +564,7 @@ public class TYPEStmt implements StatementVisitor {
|
|||||||
for (var ctor : clazz.getConstructors()) {
|
for (var ctor : clazz.getConstructors()) {
|
||||||
var params = convertParams(ctor.getParameterList(), info);
|
var params = convertParams(ctor.getParameterList(), info);
|
||||||
if (params.size() != superCall.arglist.getArguments().size()) continue;
|
if (params.size() != superCall.arglist.getArguments().size()) continue;
|
||||||
var assumption = new MethodAssumption(clazz, new Void(new NullToken()), params, createTypeScope(clazz, ctor), ctor.isInherited);
|
var assumption = new MethodAssumption(null, new Void(new NullToken()), params, createTypeScope(clazz, ctor), ctor.isInherited);
|
||||||
|
|
||||||
GenericsResolver resolver = getResolverInstance();
|
GenericsResolver resolver = getResolverInstance();
|
||||||
Set<Constraint<Pair>> oneMethodConstraints = generateConstraint(superCall, assumption, info, resolver);
|
Set<Constraint<Pair>> oneMethodConstraints = generateConstraint(superCall, assumption, info, resolver);
|
||||||
@ -582,7 +582,7 @@ public class TYPEStmt implements StatementVisitor {
|
|||||||
for (var ctor : info.getCurrentClass().getConstructors()) {
|
for (var ctor : info.getCurrentClass().getConstructors()) {
|
||||||
var params = convertParams(ctor.getParameterList(), info);
|
var params = convertParams(ctor.getParameterList(), info);
|
||||||
if (params.size() != thisCall.arglist.getArguments().size()) continue;
|
if (params.size() != thisCall.arglist.getArguments().size()) continue;
|
||||||
var assumption = new MethodAssumption(info.getCurrentClass(), new Void(new NullToken()), params, createTypeScope(info.getCurrentClass(), ctor), ctor.isInherited);
|
var assumption = new MethodAssumption(null, new Void(new NullToken()), params, createTypeScope(info.getCurrentClass(), ctor), ctor.isInherited);
|
||||||
|
|
||||||
GenericsResolver resolver = getResolverInstance();
|
GenericsResolver resolver = getResolverInstance();
|
||||||
Set<Constraint<Pair>> oneMethodConstraints = generateConstraint(thisCall, assumption, info, resolver);
|
Set<Constraint<Pair>> oneMethodConstraints = generateConstraint(thisCall, assumption, info, resolver);
|
||||||
|
Loading…
Reference in New Issue
Block a user