Skip to content

dart: func_start recall gaps (supersedes closed #2072) — dotted return types, bodyless constructors, extension #2462

Description

@squid-protocol

Summary

Fresh, concrete list from the 2026-08-29 tri-comparison recall audit. #2072 tracked this class
but was closed before the residual was resolved; these 9 occurrences still reproduce (dart func
recall 99.5%).

language-crucible/data/dart/flutter/:

file:line name form
editable_text.dart _EditableTextTapOutsideAction bodyless default constructor _Foo();
editable_text.dart _EditableTextTapUpOutsideAction same
editable_text.dart _characterBoundary / _linebreak / _nextWordBoundary local function / closure form
framework.dart findAncestorStateOfType / findRootAncestorStateOfType generic method T? findAncestorStateOfType<T extends State<StatefulWidget>>()
semantics.dart ChildSemanticsConfigurationsResultBuilder bodyless constructor
theme_data.dart extension extension is a real Dart 2.7+ top-level keyword, not matched

Fix direction

Per #2072's own analysis: item 1 (bodyless constructors) mirrors the rust #1319 / objc #1336
bodyless handling dart doesn't fully replicate; extension needs a dedicated func_start
branch; the generic-method ones need the return-type-prefix charclass to admit <... extends ...>. Each needs its own regression check — a naive charclass widening breaks generic method
type-parameter bounds (confirmed in #2072).

Found by

tri-comparison-ledger-sweep step 2.6 recall audit, 2026-08-29. Supersedes #2072.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUnintended behavior or logic failure in the enginecore-engineModifications to the central physics and parsing engine

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions