Re: Re: [EXT] Re: Record enhancements

2021-11-10 Thread Daniel Sun
> That was not easy to do with the current grammar hence the limitation. I was hoping we would find a way to remove the limitation before 4GA hence it possibly isn't mentioned yet in the documentation/release notes. The working of how the compact constructor was "plumbed in" has changed slightly -

Re: [EXT] Re: Record enhancements

2021-11-10 Thread Paul King
Comments inline. On Wed, Nov 10, 2021 at 1:17 AM Milles, Eric (TR Technology) < eric.mil...@thomsonreuters.com> wrote: > A couple questions regarding record types: > > > > record Person(String name, Date dob) { > > public Person { > > // ... > > } > > } > > > > 1) Was it by design to have

RE: [EXT] Re: Record enhancements

2021-11-09 Thread Milles, Eric (TR Technology)
A couple questions regarding record types: record Person(String name, Date dob) { public Person { // ... } } 1) Was it by design to have Person(String) and Person() constructors created for the example above? I would prefer to see the canonical constructor and the map constructor only.