Skip to content

Commit

Permalink
analyzer bump
Browse files Browse the repository at this point in the history
  • Loading branch information
j4qfrost committed Nov 22, 2023
1 parent c7a43e6 commit 55391dc
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/cli/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: A modern HTTP server application framework, ORM and OAuth2 provider
environment:
sdk: ">=3.2.0 <4.0.0"
dependencies:
analyzer: ^5.1.0
analyzer: ^6.3.0
args: ^2.1.1
collection: ^1.15.0
conduit_common: ^4.3.7
Expand Down
2 changes: 1 addition & 1 deletion packages/core/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: This is the core of the framework.
environment:
sdk: ">=3.2.0 <4.0.0"
dependencies:
analyzer: ^5.1.0
analyzer: ^6.3.0
args: ^2.1.1
collection: ^1.15.0
conduit_common: ^4.3.7
Expand Down
2 changes: 1 addition & 1 deletion packages/isolate_exec/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: This library contains types that allow for executing code in a spaw
environment:
sdk: ">=3.2.0 <4.0.0"
dependencies:
analyzer: ^5.1.0
analyzer: ^6.3.0
glob: ^2.0.0
path: ^1.8.0
dev_dependencies:
Expand Down
2 changes: 1 addition & 1 deletion packages/runtime/lib/src/analyzer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class CodeAnalyzer {
.declarations
.whereType<ClassDeclaration>()
.where((c) =>
c.extendsClause?.superclass.name2.stringValue == superclassName)
c.extendsClause?.superclass.name2.toString() == superclassName)
.toList();
}

Expand Down
2 changes: 1 addition & 1 deletion packages/runtime/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ repository: https://github.com/conduit-dart/conduit-runtime
environment:
sdk: '>=3.2.0 <4.0.0'
dependencies:
analyzer: ^5.1.0
analyzer: ^6.3.0
args: ^2.0.0
conduit_isolate_exec: ^4.3.7
io: ^1.0.3
Expand Down
2 changes: 1 addition & 1 deletion packages/runtime/test/project_analyzer_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ void main() {
);
expect(klass, isNotNull);
expect(klass!.name.value(), "ConsumerSubclass");
expect(klass.extendsClause!.superclass.name2.stringValue, "Consumer");
expect(klass.extendsClause!.superclass.name2.toString(), "Consumer");
});
}
4 changes: 2 additions & 2 deletions packages/test_harness/lib/src/agent.dart
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@ class Agent {
/// The base URL that this agent's requests will be made against.
String get baseURL {
if (_application != null) {
if (!_application!.isRunning) {
if (!_application.isRunning) {
throw StateError("Application under test is not running.");
}
return "${_application!.server.requiresHTTPS ? "https" : "http"}://localhost:${_application!.channel.server.server!.port}";
return "${_application.server.requiresHTTPS ? "https" : "http"}://localhost:${_application.channel.server.server!.port}";
}

return "$_scheme://$_host:$_port";
Expand Down
2 changes: 1 addition & 1 deletion packages/test_harness/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ dev_dependencies:
conduit_postgresql:
path: ../postgresql
lints: ^3.0.0
test_core: ^0.4.18
test_core: ^0.5.9

0 comments on commit 55391dc

Please sign in to comment.