Nest host validation vs NestHost attribute performed by Lookup::defineHiddenClass

John Rose john.r.rose at oracle.com
Wed Sep 25 03:41:03 UTC 2019


On Sep 24, 2019, at 8:14 PM, Mandy Chung <mandy.chung at oracle.com> wrote:
> 
> Hidden classes do not have names and they cannot participate in NH/NM attributes as you noted (2a) in your previous reply.  Why not disallowing defining a hidden class with NH/NM attributes as in the current proposal [1]?

That’s fine too. But I think it makes the spec a little simpler to say that (a) they are erroneous and (b) they are therefore ignored, rather than adding a special check and a special failure mode, just for HCs. 


More information about the valhalla-dev mailing list