Fixed analyze errors

This commit is contained in:
Daniel Brauner 2022-01-24 18:42:47 +01:00
parent 2035bf0af9
commit d7c4945d72
2 changed files with 1 additions and 5 deletions

View File

@ -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;

View File

@ -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';