Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dart2js giving 'Duplicated library name "observe"' warning while using web_ui 0.4.17+3 #12526

Closed
DartBot opened this issue Aug 17, 2013 · 5 comments
Milestone

Comments

@DartBot
Copy link

DartBot commented Aug 17, 2013

This issue was originally filed by lamberson...@gmail.com


What steps will reproduce the problem?

  1. import 'package:web_ui/web_ui.dart' (using web_ui version 0.4.17+3)
  2. run dart2js:
    dart2js projectname.html_bootstrap.dart -o projectname.html_bootstrap.dart.js

What is the expected output? What do you see instead?
Expected no warnings, instead saw:

packages/observe/observe.dart:71:9: Warning: Duplicated library name "observe".
library observe;
        ^^^^^^^
packages/web_ui/observe.dart:24:9: Warning: Duplicated library name "observe".
library observe;
        ^^^^^^^

What version of the product are you using? On what operating system?
Dart 64-bit Linux Editor: 0.6.17_r26106 on Ubuntu 13.04 (web_ui 0.4.17+3)

Please provide any additional information below.

Setting the web_ui dependency to 0.4.16 and compiling with dart2js does not produce the warning.

@sethladd
Copy link
Contributor

Added Area-Polymer, Triaged labels.

@DartBot
Copy link
Author

DartBot commented Sep 29, 2013

This comment was originally written by EGG...@gmail.com


I have a same issue when using "@observable" in dart script

@sigmundch
Copy link
Member

Added this to the M8 milestone.

@sigmundch
Copy link
Member

I sent out a CL to fix the issues in web_ui here:
https://chromiumcodereview.appspot.com/26355003/

Note: when using web_ui most people are not using the package:observe dependency, so this warning is OK to ignore. The warning shows up because web_ui depends on custom_element, which transitively depends on 'package:observe'.

@sigmundch
Copy link
Member

The fix is available in version 0.4.21+1 of web_ui.


Added Fixed label.

@DartBot DartBot added this to the M8 milestone Oct 7, 2013
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants