Re: [sv-bc] Mantis 2674 and 2611 (ballot 123 and 131)

From: Greg Jaxon <Greg.Jaxon_at_.....>
Date: Fri May 01 2009 - 16:57:40 PDT
The error on:
integer T;
integer U = T'(3.14159);

does not wait until runtime to be shocked, shocked to find that T is neither a type nor a constant.

casting_type ::= simple_type | constant_primary | signing | string | const                  
simple_type ::= integer_type | non_integer_type | ps_type_identifier | ps_parameter_identifier

The scanner makes this distinction much earlier.


Francoise Martinolle wrote:
We do not want to treat type names differently than variable names.

Francoise
    '

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean. Received on Fri May 1 16:58:57 2009

This archive was generated by hypermail 2.1.8 : Fri May 01 2009 - 16:59:13 PDT