Skip to content
Permalink
Browse files
Update switch() documentation (#1176)
  • Loading branch information
Pieter12345 committed Mar 20, 2020
1 parent 74d1485 commit b063add058fcee070e0a6a0e731b1ab1c76a4297
Showing 1 changed file with 1 addition and 1 deletion.
@@ -505,7 +505,7 @@ public ExampleScript[] examples() throws ConfigCompileException {
+ "\t\tbreak();\n"
+ "}"),
new ExampleScript("With braces/case/default. Note the lack of fallthrough, even without a break(),"
+ " except where two cases are directly back to back.",
+ " except where cases are directly back to back.",
"@a = 5\nswitch(@a){\n"
+ "\tcase 1:\n"
+ "\tcase 2:\n"

0 comments on commit b063add

Please sign in to comment.