我在控制台中看到此错误:
Exception: InvalidStateError: Internal Dartium Exception
PolymerDeclaration.registerType (package:polymer/src/declaration.dart:241:22)
PolymerDeclaration.register (package:polymer/src/declaration.dart:175:17)
PolymerDeclaration._register (package:polymer/src/declaration.dart:114:13)
PolymerDeclaration.registerWhenReady (package:polymer/src/declaration.dart:109:14)
_notifyType (package:polymer/src/declaration.dart:514:49)
Polymer.register (package:polymer/src/instance.dart:64:16)
_loadLibrary (package:polymer/src/loader.dart:177:25)
我有这样的代码:
@CustomTag('person-tag')
class PersonTag extends PolymerElement {
我的 HTML 是这样的:
<polymer-element name="person-tag" extends="li">
为什么我会收到此Internal Dartium Exception
错误registerType
?