Skip to content

polymer application compilation error #18481

Closed
@DartBot

Description

@DartBot

This issue was originally filed by [email protected]


Dart2js output contains the following erorr messages:

This import is not annotated with @­MirrorsUsed, which may lead to unnecessarily large generated code.
Try adding '@MirrorsUsed(...)' as described at https://goo.gl/Akrrog.
import 'dart:mirrors';
^^^^^^^^^^^^^^^^^^^^^^
[Info from Dart2JS]:
Took 0:00:18.394552 to compile od_web|web/load.html_bootstrap.dart.
[Info from Dart2JS]:
Compiling od_web|web/resetPassword.html_bootstrap.dart...

294 methods retained for use by dart:mirrors out of 2026 total methods (15%).
[Info from Dart2JS]:
Took 0:00:05.577569 to compile od_web|web/resetPassword.html_bootstrap.dart.
[Info from Dart2JS]:
Compiling od_web|web/profile.html_bootstrap.dart...

'smoke_8' has no member named 'T'.
          #viewmodel: const Declaration(#viewmodel, smoke_8.T, kind: PROPERTY, annotations: const [smoke_2.reflectable, smoke_1.published]),
                                                    ^^^^^^^^^

Not a compile-time constant.
          #viewmodel: const Declaration(#viewmodel, smoke_8.T, kind: PROPERTY, annotations: const [smoke_2.reflectable, smoke_1.published]),
                                                    ^^^^^^^^^
[Info from Dart2JS]:
Took 0:00:05.676572 to compile od_web|web/profile.html_bootstrap.dart.

Took 0:00:10.231995 to compile od_web|web/home.html_bootstrap.dart.
[Info from Dart2JS]:
Compiling od_web|web/data.html_bootstrap.dart...

'smoke_9' has no member named 'T'.
          #viewmodel: const Declaration(#viewmodel, smoke_9.T, kind: PROPERTY, annotations: const [smoke_2.reflectable, smoke_1.published]),
                                                    ^^^^^^^^^

Not a compile-time constant.
          #viewmodel: const Declaration(#viewmodel, smoke_9.T, kind: PROPERTY, annotations: const [smoke_2.reflectable, smoke_1.published]),
                                                    ^^^^^^^^^
[Info from Dart2JS]:
Took 0:00:09.715136 to compile od_web|web/data.html_bootstrap.dart.
[Info from Dart2JS]:
Compiling od_web|web/profilewizard.html_bootstrap.dart...

'smoke_15' has no member named 'T'.
          #viewmodel: const Declaration(#viewmodel, smoke_15.T, kind: PROPERTY, annotations: const [smoke_2.reflectable, smoke_1.published]),
                                                    ^^^^^^^^^^

'smoke_15' has no member named 'T'.
          #viewmodel: const Declaration(#viewmodel, smoke_15.T, kind: PROPERTY, annotations: const [smoke_2.reflectable, smoke_1.published]),
                                                    ^^^^^^^^^^

Not a compile-time constant.
          #viewmodel: const Declaration(#viewmodel, smoke_15.T, kind: PROPERTY, annotations: const [smoke_2.reflectable, smoke_1.published]),
                                                    ^^^^^^^^^^
[Info from Dart2JS]:
Took 0:00:22.513475 to compile od_web|web/profilewizard.html_bootstrap.dart.
[Info from Dart2JS]:
Compiling od_web|web/datawizard.html_bootstrap.dart...

Symbol literal '#_hightlightChanged' is currently unsupported by dart2js.
        #_hightlightChanged: (o) => o._hightlightChanged,
        ^^^^^^^^^^^^^^^^^^^

'smoke_14' has no member named 'T'.
          #viewmodel: const Declaration(#viewmodel, smoke_14.T, kind: PROPERTY, annotations: const [smoke_2.reflectable, smoke_1.published]),
                                                    ^^^^^^^^^^

Symbol literal '#_hightlightChanged' is currently unsupported by dart2js.
          #_hightlightChanged: const Declaration(#_hightlightChanged, Function, kind: METHOD),
          ^^^^^^^^^^^^^^^^^^^

Symbol literal '#_hightlightChanged' is currently unsupported by dart2js.
          #_hightlightChanged: const Declaration(#_hightlightChanged, Function, kind: METHOD),
                                                 ^^^^^^^^^^^^^^^^^^^

Symbol literal '#_hightlightChanged' is currently unsupported by dart2js.
        #_hightlightChanged: r'_hightlightChanged',
        ^^^^^^^^^^^^^^^^^^^

Not a compile-time constant.
          #viewmodel: const Declaration(#viewmodel, smoke_14.T, kind: PROPERTY, annotations: const [smoke_2.reflectable, smoke_1.published]),
                                                    ^^^^^^^^^^
[Info from Dart2JS]:
Took 0:00:04.672336 to compile od_web|web/datawizard.html_bootstrap.dart.
Build failed.

What version of the product are you using? On what operating system?

  • Dart Editor version 1.4.0.dev_04_00 (DEV)
  • Dart SDK version 1.4.0-dev.4.0
  • polymer 0.10.0-pre.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-pkgUsed for miscellaneous pkg/ packages not associated with specific area- teams.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions