groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul King <pa...@asert.com.au>
Subject Re: ASM class resolution
Date Tue, 15 Jan 2019 08:38:56 GMT
The tests still pass replacing the try/catch with:

ClassNodeResolver.LookupResult lookupResult =
getClassNodeResolver().resolveName(name, CompilationUnit.this);
return lookupResult == null ? null : lookupResult.getClassNode();

Not sure whether returning null will cause a problem but if so it isn't
triggered by our current test suite.

Cheers, Paul.

Mime
View raw message