Skip to content

Instantly share code, notes, and snippets.

@f3ath
Created December 7, 2019 02:58
Show Gist options
  • Save f3ath/2dc88db8022ad571c77f71dfbdbf5187 to your computer and use it in GitHub Desktop.
Save f3ath/2dc88db8022ad571c77f71dfbdbf5187 to your computer and use it in GitHub Desktop.
[f3ath@glider json-api-dart]$ pub update
Resolving dependencies... (4.9s)
_fe_analyzer_shared 1.0.1
analyzer 0.39.2
args 1.5.2
async 2.4.0
boolean_selector 1.0.5
charcode 1.1.2
collection 1.14.12
convert 2.1.1
coverage 0.13.3+3
crypto 2.1.4
csslib 0.16.1
glob 1.2.0
html 0.14.0+3
http 0.12.0+2
http_multi_server 2.1.0
http_parser 3.1.3
io 0.3.3
js 0.6.1+1
json_matcher 0.2.3
logging 0.11.3+2
matcher 0.12.6
meta 1.1.8
mime 0.9.6+3
multi_server_socket 1.0.2
node_interop 1.0.3
node_io 1.0.1+2
node_preamble 1.4.8
package_config 1.1.0
package_resolver 1.0.10
path 1.6.4
pedantic 1.9.0
pool 1.4.0
pub_semver 1.4.2
shelf 0.7.5
shelf_packages_handler 1.0.4
shelf_static 0.2.8
shelf_web_socket 0.2.3
source_map_stack_trace 1.1.5
source_maps 0.10.8
source_span 1.5.5
stack_trace 1.9.3
stream_channel 1.7.0 (2.0.0 available)
string_scanner 1.0.5
term_glyph 1.1.0
test 1.9.4
test_api 0.2.11
test_core 0.2.15
typed_data 1.1.6
uuid 2.0.4
vm_service 2.1.3
watcher 0.9.7+13
web_socket_channel 1.1.0
yaml 2.2.0
No dependencies changed.
Precompiling executables... (4.8s)
Failed to precompile test:test:
Error: Could not resolve the package 'kernel' in 'package:kernel/util/graph.dart'.
../../.pub-cache/hosted/pub.dartlang.org/analyzer-0.39.2/lib/src/summary2/default_types_builder.dart:15:8: Error: Not found: 'package:kernel/util/graph.dart'
import 'package:kernel/util/graph.dart' show Graph, computeStrongComponents;
^
../../.pub-cache/hosted/pub.dartlang.org/analyzer-0.39.2/lib/src/summary2/default_types_builder.dart:256:39: Error: Type 'Graph' not found.
class _TypeParametersGraph implements Graph<int> {
^^^^^
../../.pub-cache/hosted/pub.dartlang.org/analyzer-0.39.2/lib/src/summary2/default_types_builder.dart:256:39: Error: Expected 0 type arguments.
class _TypeParametersGraph implements Graph<int> {
^
../../.pub-cache/hosted/pub.dartlang.org/analyzer-0.39.2/lib/src/summary2/default_types_builder.dart:125:29: Error: The method 'computeStrongComponents' isn't defined for the class 'DefaultTypesBuilder'.
- 'DefaultTypesBuilder' is from 'package:analyzer/src/summary2/default_types_builder.dart' ('../../.pub-cache/hosted/pub.dartlang.org/analyzer-0.39.2/lib/src/summary2/default_types_builder.dart').
Try correcting the name to the name of an existing method, or defining a method named 'computeStrongComponents'.
var stronglyConnected = computeStrongComponents(graph);
^^^^^^^^^^^^^^^^^^^^^^^
[f3ath@glider json-api-dart]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment