Skip to content

Internal error: ambiguous reference: 'Exception' is defined in library 'dart:svg' and also in 'dart:core' #6993

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

Closed
DartBot opened this issue Nov 28, 2012 · 3 comments
Assignees
Labels
web-libraries Issues impacting dart:html, etc., libraries
Milestone

Comments

@DartBot
Copy link

DartBot commented Nov 28, 2012

This issue was originally filed by [email protected]


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

Dart Editor version 0.2.6_r15355
Dart SDK version 0.2.6.0_r15355
Win7x64

As of this latest and most recent build, I encounter the following error when Dartium hits a line of code where I define a custom exception (class UniqueConstraintException implements Exception...). It am greeted with the following error in the console:

    "Internal error: ... ambiguous reference: 'Exception' is defined in library 'dart:svg' and also in 'dart:core'"

I realize the SVG library was just recently split out from dart:html, but I did not expect that somehow this would produce an overlap in the definition of the "Exception" class. Is this overlap to remain, or do I need to prefix and reference a specific library's Exception class (which would seem odd, since I expect "Exception" is truly meant for dart:core)?

Or, am I just missing something completely?

@dgrove
Copy link
Contributor

dgrove commented Nov 28, 2012

Set owner to @blois.
Added Area-HTML, Triaged labels.

@blois
Copy link

blois commented Nov 28, 2012

This is a valid bug, working on in right now.

Thanks for picking it up!


Added this to the M2 milestone.

@blois
Copy link

blois commented Nov 28, 2012

Added Fixed label.

@DartBot DartBot added Type-Defect web-libraries Issues impacting dart:html, etc., libraries labels Nov 28, 2012
@DartBot DartBot added this to the M2 milestone Nov 28, 2012
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
web-libraries Issues impacting dart:html, etc., libraries
Projects
None yet
Development

No branches or pull requests

3 participants