simc / logger

Small, easy to use and extensible logger which prints beautiful logs.
https://pub.dev/packages/logger
MIT License
1.07k stars 129 forks source link

在dart2native上面无法生成AOT snapshot #41

Closed AndromedaX7 closed 4 years ago

AndromedaX7 commented 4 years ago

Unexpected object (Class with illegal cid, full-aot): 0x1bf2ea70d71 Library:'dart:collection' Class: _CompactLinkedHashSet@3220832

Failed to generate native files: Generating AOT snapshot failed!

os:windows10 dart: 2.8.0-dev.12.0 (Thu Mar 5 11:45:50 2020 +0100) on "windows_x64"

source code:

import 'package:logger/logger.dart';

void main() { var logger = Logger(); logger.e("message"); }

haarts commented 4 years ago

I'm not sure what is going on here. Does the same error occur with Dart 2.7?

haarts commented 4 years ago

Closing due to inactivity. Please reopen when you want.