optics-dev / Monocly

Optics experimentation for Dotty
MIT License
32 stars 5 forks source link

Permission issue #48

Closed julien-truffaut closed 3 years ago

julien-truffaut commented 3 years ago

This PR is to illustarte an issue with permissions of Getter/Setter Impl.

Currently, val getter = GetManyImpl((x: List[Int]) => x) infers ThisCan = Nothing while it should infer GetMany.

Similarly, NoGetter should use ThisCan = Any

kenbot commented 3 years ago

This one is out of date now