Skip to content

Breaking bug-fixes in CFE for Dart 2.1 #34611

@askeksa-google

Description

@askeksa-google

A number of situations that are defined to be compile-time errors by the spec were not adequately checked in Dart 2.0. Most known cases have been, or will be, implemented for Dart 2.1. Any such newly implemented compile-time error that was detected by neither the analyzer nor the CFE in 2.0 is a breaking bug-fix.

This issue aims to track our overall process of integrating and rolling out the known breaking bug-fixes.

Some breaking bug-fixes (e.g. #33022) have already been re-classified as warnings, as specified in #34349. Our known breaking bug-fixes which have not been re-classified are:

Action items:

  • Decide which (if any) of these errors should be re-classified as warnings, and add them to the list in Change errors to warnings #34349.
  • Decide how to go about rolling these changes (in particular the first in the list) into internal code. Maybe we want to test it before landing the change (compiling all the code should suffice). Maybe we want to land the checks as warnings first, then up them to errors after fixing existing code.
  • Fix all existing internal code.
  • Assess impact on external code.
  • Land the remaining fixes.
  • Describe all of these changes in the release notes for 2.1.
  • Mail flutter-dev, dart-misc, and dart-announce with breaking fix announcement.

Metadata

Metadata

Assignees

Labels

P1A high priority bug; for example, a single project is unusable or has many test failuresarea-languageDart language related items (some items might be better tracked at github.com/dart-lang/language).implementationTrack the implementation of a specific feature (use on area-meta issue, not issues for each tool)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions