mirror of
https://github.com/dart-lang/sdk
synced 2024-09-21 03:13:14 +00:00
Address nits from https://codereview.chromium.org/2823243002/
I thought I'd made these changes prior to landing the above CL, but I accidentally made them to the wrong branch, so they didn't wind up getting committed. R=ahe@google.com Review-Url: https://codereview.chromium.org/2821193004 .
This commit is contained in:
parent
b67e83eea3
commit
ea0c1d8f35
|
@ -2,12 +2,15 @@
|
|||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
// BSD-style license that can be found in the LICENSE.md file.
|
||||
|
||||
import 'package:kernel/ast.dart';
|
||||
import 'package:kernel/ast.dart' show DartType;
|
||||
import 'package:kernel/class_hierarchy.dart';
|
||||
import 'package:kernel/core_types.dart';
|
||||
|
||||
/// Abstract implementation of type inference which is independent of the
|
||||
/// underlying AST representation.
|
||||
/// underlying AST representation (but still uses DartType from kernel).
|
||||
///
|
||||
/// TODO(paulberry): would it make more sense to abstract away the
|
||||
/// representation of types as well?
|
||||
///
|
||||
/// Derived classes should set S, E, V, and F to the class they use to represent
|
||||
/// statements, expressions, variable declarations, and field declarations,
|
||||
|
|
Loading…
Reference in a new issue