导入 postgresql 包时工作程序包出现故障

Worker package disfunction when importing postgresql package

我正在尝试使用 Worker 包和 PostgreSQL 包。

我不确定为什么,但是如果我 运行 https://diegorochablog.wordpress.com/2014/02/18/worker-dart-concurrent-programming-does-not-have-to-be-hard/ 除了添加 import 语句之外什么都不改变:import 'package:postgresql/postgresql.dart';,该示例停止工作(未调用任务的 execute)。

Dart VM 版本:1.17.0-dev.4.1(2016 年 5 月 19 日星期四 11:21:39)"macos_x64"。

pubspec.yaml

name: fibFuturesConcu
version: 0.0.1
description: A simple console application.
dependencies:
  worker: any

更新

显然稳定版 Dart (1.16.0) 不会发生这种情况。

使用 Dart Stable 1.16 时问题消失了。