Re: Anonymous value class ?

2018-07-11 Thread Brian Goetz
lue types can be used, i had to find workarounds around > the fact that there is no way to create an anonymous value class using the > compiler. > > If we follow the idea of having a classical constructor being transformed to > a factory method, i think we should also allow anony

Anonymous value class ?

2018-07-11 Thread Remi Forax
While testing how value types can be used, i had to find workarounds around the fact that there is no way to create an anonymous value class using the compiler. If we follow the idea of having a classical constructor being transformed to a factory method, i think we should also allow anonymous