QVT 1.0 NO IDEA Avatar
  1. OMG Issue

QVT — Consider using the case keyword within swith expression

  • Key: QVT-43
  • Legacy Issue Number: 11063
  • Status: closed  
  • Source: France Telecom R&D ( Mariano Belaunde)
  • Summary:

    Consider using the 'case' keyword within swith expressions to have a similar
    notation as in other languages.

  • Reported: QVT 1.0b1 — Thu, 24 May 2007 04:00 GMT
  • Disposition: Resolved — QVT 1.0
  • Disposition Summary:

    In Section8.2.2.8 SwitchExp, replace the code after "following syntax pattern" by
    switch

    { case cond1 ? exp1; case cond2 ? exp2; … else ? expN; }

    For the change in the BNF grammar, see resolution of issue 10026.

  • Updated: Fri, 6 Mar 2015 20:54 GMT