diff --git a/sky/specs/style-guide.md b/sky/specs/style-guide.md index 6ec21b9e589a97afe0b82b35d421d9ba24e7f9b4..1ae4fa26f4e1d644ae247bc47d0a7bf67975ea69 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