This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Re: [scala-bts] #2326: error: overloaded method constructor UnprefixedAttribute with alternatives when using curlys in an xml litteral

1 reply
Scala 2
Joined: 2009-03-05,
User offline. Last seen 42 years 45 weeks ago.

when using curlys in an xml litteral
-------------------+--------------------------------------------------------
Reporter: sfjd | Owner: scala-xml_team
Type: defect | Status: new
Priority: normal | Component: XML support
Keywords: |
-------------------+--------------------------------------------------------
Changes (by jup):

* cc: juergen@… (added)

Comment:

Maybe same problem as #1787.

Scala 2
Joined: 2009-03-05,
User offline. Last seen 42 years 45 weeks ago.
Re: [scala-bts] #2326: error: overloaded method constructor Unpr

when using curlys in an xml litteral
-------------------+--------------------------------------------------------
Reporter: sfjd | Owner: scala-xml_team
Type: defect | Status: closed
Priority: normal | Component: XML support
Version: | Resolution: duplicate
Keywords: |
-------------------+--------------------------------------------------------
Changes (by extempore):

* status: new => closed
* resolution: => duplicate

Comment:

It is a duplicate of #1787, yes. You'd think it'd be a simpler matter to
call .toString() automatically, but because of curse-inducingly poorly
considered semantics, you will end up with Strings like "Some(5)" where
you would currently receive "5". The correct fix requires breaking the
current interface which means it has to wait.

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland