mirror of https://github.com/AMT-Cheif/drift.git
Fixed analyze errors
This commit is contained in:
parent
2035bf0af9
commit
d7c4945d72
|
@ -97,9 +97,6 @@ class ReferenceScope {
|
||||||
/// Resolves to a [Referencable] with the given [name] and of the type [T].
|
/// Resolves to a [Referencable] with the given [name] and of the type [T].
|
||||||
/// If the reference couldn't be found, null is returned and [orElse] will be
|
/// If the reference couldn't be found, null is returned and [orElse] will be
|
||||||
/// called.
|
/// called.
|
||||||
///
|
|
||||||
/// If [includeParents] is set to false, resolve will only search the current
|
|
||||||
/// scope.
|
|
||||||
T? resolve<T extends Referencable>(String name, {Function()? orElse}) {
|
T? resolve<T extends Referencable>(String name, {Function()? orElse}) {
|
||||||
ReferenceScope? scope = this;
|
ReferenceScope? scope = this;
|
||||||
var isAtParent = false;
|
var isAtParent = false;
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import '../ast.dart'
|
import '../ast.dart' show ResultColumn, Renamable, SelectStatement;
|
||||||
show StarResultColumn, ResultColumn, Renamable, SelectStatement;
|
|
||||||
import '../node.dart';
|
import '../node.dart';
|
||||||
import '../visitor.dart';
|
import '../visitor.dart';
|
||||||
import 'moor_file.dart';
|
import 'moor_file.dart';
|
||||||
|
|
Loading…
Reference in New Issue