| Index: lib/kernel.dart
|
| diff --git a/lib/kernel.dart b/lib/kernel.dart
|
| index 3214fd56674a0df573cb7353b54d8653f7100f24..380045ad581c0ded54cf11c5042a6c02486fc1c3 100644
|
| --- a/lib/kernel.dart
|
| +++ b/lib/kernel.dart
|
| @@ -574,7 +574,7 @@ class Kernel {
|
|
|
| /// Returns true if [element] is synthesized to recover or represent a
|
| /// semantic error, for example, missing, duplicated, or ambiguous elements.
|
| - /// However, returns true for elements that have an unrecoverable syntax
|
| + /// However, returns false for elements that have an unrecoverable syntax
|
| /// error. Both kinds of element will return true from [Element.isMalformed],
|
| /// but they must be handled differently. For example, a static call to
|
| /// synthetic error element should be compiled to [ir.InvalidExpression],
|
|
|