Skip to content

analysis server behavior change in a ~degenerate case #141873

@zanderso

Description

@zanderso

Starting with the Dart roll here flutter/engine#49880, the behavior of the analysis server is different when supplied with the following file:

import 'package:flutter/material.dart

Previously, the analysis server would come back with the errors:

  error • error.dart:1:8 • Expected to find ';'. • expected_token
  error • error.dart:1:37 • Unterminated string literal. •
          unterminated_string_literal
warning • error.dart:1:8 • Unused import: 'package:flutter/material.dart'. Try
          removing the import directive. • unused_import

3 issues found.

However, after the roll linked above, it reports no errors, and returns success. See #141870.

Metadata

Metadata

Assignees

Labels

dependency: dartDart team may need to help usteam-toolOwned by Flutter Tool team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions