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

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

Issue 2972873002: Create more synthetic kernel objects. (Closed)
Patch Set: Created 3 years, 5 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
Index: pkg/front_end/lib/src/fasta/kernel/fasta_accessors.dart
diff --git a/pkg/front_end/lib/src/fasta/kernel/fasta_accessors.dart b/pkg/front_end/lib/src/fasta/kernel/fasta_accessors.dart
index cbeac83592581b5837b05554cf96d48b4bb15a06..dea40020c2d3292970e926a721eda13f5245c66e 100644
--- a/pkg/front_end/lib/src/fasta/kernel/fasta_accessors.dart
+++ b/pkg/front_end/lib/src/fasta/kernel/fasta_accessors.dart
@@ -8,6 +8,7 @@ import 'package:front_end/src/fasta/kernel/kernel_shadow_ast.dart'
show
KernelArguments,
KernelComplexAssignment,
+ KernelIllegalAssignment,
KernelIndexAssign,
KernelPropertyAssign,
KernelStaticAssignment,
@@ -202,7 +203,8 @@ abstract class FastaAccessor implements Accessor {
bool get isThisPropertyAccessor => false;
@override
- KernelComplexAssignment startComplexAssignment(Expression rhs) => null;
+ KernelComplexAssignment startComplexAssignment(Expression rhs) =>
+ new KernelIllegalAssignment(rhs);
}
abstract class ErrorAccessor implements FastaAccessor {
« no previous file with comments | « pkg/front_end/lib/src/fasta/kernel/body_builder.dart ('k') | pkg/front_end/lib/src/fasta/kernel/frontend_accessors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698