[dart-lang/sdk] 9ee3a0: [_fe_analyzer_shared] Make ExpressionTypeAnalysisR...

0 views
Skip to first unread message

Paul Berry

unread,
Apr 2, 2026, 2:17:24 PM (yesterday) Apr 2
to com...@dartlang.org
Branch: refs/heads/main
Home: https://github.com/dart-lang/sdk
Commit: 9ee3a0449720a3a232fb98e3bf705d6a0b6c4473
https://github.com/dart-lang/sdk/commit/9ee3a0449720a3a232fb98e3bf705d6a0b6c4473
Author: Paul Berry <paul...@google.com>
Date: 2026-04-02 (Thu, 02 Apr 2026)

Changed paths:
M pkg/_fe_analyzer_shared/lib/src/type_inference/type_analysis_result.dart

Log Message:
-----------
[_fe_analyzer_shared] Make ExpressionTypeAnalysisResult class hierarchy final.

There's no need for these classes to be overridden outside of the
library that declares them. Making them final makes the code easier
to reason about.

Change-Id: Idbf716f2a7b627947cf788bfc5fc7f376a6a6964
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/491686
Reviewed-by: Konstantin Shcheglov <sche...@google.com>
Reviewed-by: Chloe Stefantsova <cstefa...@google.com>
Commit-Queue: Paul Berry <paul...@google.com>



To unsubscribe from these emails, change your notification settings at https://github.com/dart-lang/sdk/settings/notifications

Paul Berry

unread,
Apr 2, 2026, 3:05:42 PM (yesterday) Apr 2
to com...@dartlang.org
Branch: refs/heads/lkgr
Reply all
Reply to author
Forward
0 new messages