Ticket #163 (new defect)

Opened 1 year ago

Last modified 1 year ago

(Resolved) Drop 'default' from 'switch type'

Reported by: jeffdyer Assigned to: jeffdyer
Type: defect Priority: trivial
Milestone: Component: Spec
Version: 4 Keywords:
Cc:

Description

argument 1, experience indicates that it is often clearer to say

    case (x:*) { }

when you mean

    default { }

argument 2, we try to avoid two ways to say the same thing.

argument 3, the implementation is awkward because there is no binding.

Attachments

Change History

Changed 1 year ago by graydon

fine by me

Changed 1 year ago by lth

  • owner deleted
  • component changed from Proposals to Spec

Changed 1 year ago by lth

  • owner set to jeffdyer

Jeff, pls close when you've merged this into the grammar.

Changed 1 year ago by lth

  • summary changed from drop 'default' from 'switch type' to (Resolved) Drop 'default' from 'switch type'

Changed 1 year ago by lth

  • priority changed from major to trivial
Note: See TracTickets for help on using tickets.