Skip to content

Fix ambiguous reference to overloaded definition #363

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

Merged
merged 1 commit into from
May 14, 2019

Conversation

exoego
Copy link
Contributor

@exoego exoego commented May 13, 2019

Fixed the below compile error.

[error] /home/vagrant/IdeaProjects/scala-js-dom/src/main/scala/org/scalajs/dom/ext/Extensions.scala:279:33: ambiguous reference to overloaded definition,
[error] both method position in class ByteBuffer of type (x$1: Int)java.nio.ByteBuffer
[error] and  method position in class Buffer of type ()Int
[error] match expected type ?
[error]         val origPosition = data.position
[error]                                 ^

@sjrd sjrd merged commit df7033c into scala-js:master May 14, 2019
@exoego exoego deleted the fix-ambiguous-ref branch May 14, 2019 08:30
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

Successfully merging this pull request may close these issues.

2 participants