Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2402)

Unified Diff: pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart

Issue 3009883002: Remove ShadowVariableDeclaration.isSemiSafe. (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/front_end/lib/src/fasta/type_inference/type_inference_engine.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart
diff --git a/pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart b/pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart
index a3975d5bee090cf3b48403f4be643499355e6438..70973e429d9ea668aa13a4581ee44305b1e020d6 100644
--- a/pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart
+++ b/pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart
@@ -2378,17 +2378,6 @@ class ShadowVariableDeclaration extends VariableDeclaration
final bool _isLocalFunction;
- /// If this variable declaration represents a formal parameter, indicates
- /// whether uses of it need to be type-checked due to the covariance of class
- /// type parameters.
- ///
- /// TODO(paulberry): replace this with an enum so that it can represent
- /// "unsafe" parameters as well.
- ///
- /// TODO(paulberry): remove this once there is a corresponding annotation in
- /// the kernel representation.
- bool isSemiSafe = false;
-
ShadowVariableDeclaration(String name, this._functionNestingLevel,
{Expression initializer,
DartType type,
« no previous file with comments | « no previous file | pkg/front_end/lib/src/fasta/type_inference/type_inference_engine.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698