--- Comment #4 from bearophile_h...@eml.cc 2011-07-30 12:37:31 PDT ---
(In reply to comment #3)
> You could also just add a pair of parenthesis:
This was my last example.
> I'm not sure about allowing `S.prop`. If this is allowed, we should also
> allow `S.prop` and `S[T].prop` and maybe even `S*.prop`. Maybe let's have a
> rejects-valid or enhancement request.
Beside returning the correctly typed value, as alternative I accept this:
to produce a syntax error that suggests the programmer to use (string).init
instead. What I don't accept it silently returning a value of the "wrong" type.
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------