https://bugzilla.wikimedia.org/show_bug.cgi?id=19093


Aryeh Gregor <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |m
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME




--- Comment #3 from Aryeh Gregor <[email protected]>  2009-06-05 
15:36:46 UTC ---
<{{#switch: foo | bar = bar | #default = quuz | baz = quok }}>

outputs <quuz> as expected.  WORKSFORME.

(In reply to comment #1)
> That's how it is in all programming languages I know.

$ echo '<?php switch(1) { default: echo "default\n"; break; case 2: echo "2\n";
break; }' | php
default

Also probably not in C.  Why would such a restriction exist?


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to