-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
compiler:inferenceType inferenceType inferenceregressionRegression in behavior compared to a previous versionRegression in behavior compared to a previous version
Description
The following snipped infers in 1.6 and even 1.7-rc1 but does not anymore. Came up here:
using Accessors
using Test
struct TT{A,B}
a::A
b::B
end
lens = @optic(_.b.a.b[2])
obj = TT(2, TT(TT(3,(4,4)), 2))
@inferred modify(identity, obj, lens)
Metadata
Metadata
Assignees
Labels
compiler:inferenceType inferenceType inferenceregressionRegression in behavior compared to a previous versionRegression in behavior compared to a previous version