You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Methods like with have a return type that depends on the passed Closure's return type. Because the method must be visited before the arguments to collect @ClosureParams and @DelegatesTo information, the passed closure expression is not visited in time to determine the return type.
In this example, the type of arr is dependent on the return type of the closure expression. length, group, and matches are currently highlighted as unknown.
The text was updated successfully, but these errors were encountered:
Methods like
with
have a return type that depends on the passedClosure
's return type. Because the method must be visited before the arguments to collect@ClosureParams
and@DelegatesTo
information, the passed closure expression is not visited in time to determine the return type.Consider the following:
In this example, the type of
arr
is dependent on the return type of the closure expression.length
,group
, andmatches
are currently highlighted as unknown.The text was updated successfully, but these errors were encountered: