dart-sdk/pkg/front_end
Daniel Hillerström 8a99ab0c74 Fixes an illegal override in KernelUnresolvedNameGenerator.
The signature of the overridden method buildCompoundAssignment in
KernelUnresolvedNameGenerator (c.f. kernel_expression_generator.dart)
was illegal, because its (named parameter) arity was four, whilst the
same method in one of its supertypes has arity five.

Furthermore, there was a signature conflict for
buildCompoundAssignment amongst the supertypes of
KernelUnresolvedNameGenerator:

   KernelUnresolvedNameGenerator
   extends KernelGenerator
           |
           = Generator with KernelExpressionGenerator
                            |
                            arity(buildCompoundAssignment) = 5
   with    ErroneousExpressionGenerator, UnresolvedNameGenerator.
           |
           arity(buildCompoundAssignment) = 4

In this CL the conflict is resolved by the "greatest common
denominator" approach, that is, now each implementation of
buildCompoundAssignment has arity five.

This CL is a necessary step towards fixing
https://github.com/dart-lang/sdk/issues/34235

Related change: c95ef874aa

Change-Id: If1992b8fb2bb994f83557c48fb0ac276b2d1a8d3
Reviewed-on: https://dart-review.googlesource.com/71520
Reviewed-by: Kevin Millikin <kmillikin@google.com>
Commit-Queue: Daniel Hillerström <hillerstrom@google.com>
2018-08-27 13:32:30 +00:00
..
benchmarks/ikg Smaller changes to incremental_perf.dart, this is preparation for the flutter IKG perf benchmark 2017-11-17 10:34:12 +00:00
lib/src Fixes an illegal override in KernelUnresolvedNameGenerator. 2018-08-27 13:32:30 +00:00
test First cut basic mixin declaration parsing support 2018-08-24 21:58:55 +00:00
testcases Revert "Avoid the deprecated input error in source_loader" 2018-08-24 11:03:28 +00:00
tool Revert "Avoid the deprecated input error in source_loader" 2018-08-24 11:03:28 +00:00
analysis_options.yaml fix #31237, missing return hint was missing for inferred returns 2018-07-19 00:19:24 +00:00
error_recovery.yaml Add error_recovery.yaml: a place to add scenarios we explicitly want to model in 2017-08-10 11:52:48 -07:00
LICENSE Create a README and pubspec for the front_end package. 2016-10-19 12:14:38 -07:00
messages.status Checks whether a class extends or implements FutureOr. 2018-08-27 08:31:15 +00:00
messages.yaml Checks whether a class extends or implements FutureOr. 2018-08-27 08:31:15 +00:00
pubspec.yaml [infra] Switch pkg bots to Dart 2 2018-08-13 07:04:06 +00:00
README.md Prepare for analyzer 0.32.0. 2018-05-14 18:07:02 +00:00
testing.json [VM] Turn dart2 on by default on the command line VM 2018-06-18 22:31:32 +00:00

Front end for Dart

This package provides a low-level API for use by compiler back ends that wish to implement the Dart language. It is intended for eventual use by dev_compiler, dart2js, and the Dart VM. In addition, it will share implementation details with the analyzer package--this will be accomplished by having the analyzer package import (and re-export) parts of this package's private implementation.

End-users should use the [dartanalyzer][analyzercli] command-line tool to analyze their Dart code.

Integrators that want to write tools that analyze Dart code should use the [analyzer] package.

Note: The APIs in this package are in an early state; developers should be careful about depending on this package. In particular, there is no semver contract for release versions of this package. Please depend directly on individual versions.