From fae8df22b7fbcd84e7d39bf4b4e9d30e9393d1f1 Mon Sep 17 00:00:00 2001 From: Ian Hickson Date: Fri, 6 Nov 2015 09:21:03 -0800 Subject: [PATCH] Update style-guide.md --- sky/specs/style-guide.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sky/specs/style-guide.md b/sky/specs/style-guide.md index 6ec21b9e5..1ae4fa26f 100644 --- a/sky/specs/style-guide.md +++ b/sky/specs/style-guide.md @@ -170,7 +170,9 @@ returns.) If a flow control structure's statement is one line long, then don't use braces around it, unless it's part of an "if" chain and any of the other blocks have more than one line. (Keeping the code free of -boilerplate or redundant punctuation keeps it concise and readable.) +boilerplate or redundant punctuation keeps it concise and readable. +The analyzer will catch "goto fail"-style errors with its dead-code +detection.) > For example, > ```dart -- GitLab