Skip to content

Commit 2235897

Browse files
committed
update scala3 repository links
1 parent 0247c53 commit 2235897

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ scala-xml
44
[![latest release for 3.0](https://img.shields.io/maven-central/v/org.scala-lang.modules/scala-xml_3.svg?label=scala+3)](http://mvnrepository.com/artifact/org.scala-lang.modules/scala-xml_3)
55
=========
66

7-
The standard Scala XML library. Please file XML issues here, not at https://github.com/scala/bug/issues or http://github.com/lampepfl/dotty/issues.
7+
The standard Scala XML library. Please file XML issues here, not at https://github.com/scala/bug/issues or http://github.com/scala/scala3/issues.
88

99
The decoupling of scala-xml from the Scala compiler and standard library is possible because the compiler desugars XML literals in Scala source code into a set of method calls.
1010
Alternative implementations of these calls are welcome!
1111
Compiler code that shows the calls needed:
1212
[Scala 2.11](https://github.com/scala/scala/blob/2.11.x/src/compiler/scala/tools/nsc/ast/parser/SymbolicXMLBuilder.scala),
1313
[Scala 2.12](https://github.com/scala/scala/blob/2.12.x/src/compiler/scala/tools/nsc/ast/parser/SymbolicXMLBuilder.scala),
1414
[Scala 2.13](https://github.com/scala/scala/blob/2.13.x/src/compiler/scala/tools/nsc/ast/parser/SymbolicXMLBuilder.scala),
15-
[Scala 3](https://github.com/lampepfl/dotty/blob/main/compiler/src/dotty/tools/dotc/parsing/xml/SymbolicXMLBuilder.scala).
15+
[Scala 3](https://github.com/scala/scala3/blob/main/compiler/src/dotty/tools/dotc/parsing/xml/SymbolicXMLBuilder.scala).
1616

1717
API documentation is available [here](https://javadoc.io/doc/org.scala-lang.modules/scala-xml_2.13/).
1818

shared/src/main/scala/scala/xml/parsing/MarkupParser.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ trait MarkupParser extends MarkupParserCommon with TokenTests {
6060
// See ticket #3720 for motivations.
6161
// As for why it's `private[parsing]` rather than merely `private`, see
6262
// https://github.com/scala/scala-xml/issues/541 ; the broader access is necessary,
63-
// for now anyway, to work around https://github.com/lampepfl/dotty/issues/13096
63+
// for now anyway, to work around https://github.com/scala/scala3/issues/13096
6464
private[parsing] class WithLookAhead(underlying: Source) extends Source {
6565
private val queue: scala.collection.mutable.Queue[Char] = scala.collection.mutable.Queue[Char]()
6666
def lookahead(): BufferedIterator[Char] = {
@@ -99,7 +99,7 @@ trait MarkupParser extends MarkupParserCommon with TokenTests {
9999

100100
/** holds temporary values of pos */
101101
// Note: if marked as an override, this causes a "...cannot override a mutable variable" error with Scala 3;
102-
// SethTisue noted on Oct 14, 2021 that lampepfl/dotty#13744 should fix it - and it probably did,
102+
// SethTisue noted on Oct 14, 2021 that scala/scala3#13744 should fix it - and it probably did,
103103
// but Scala XML still builds against Scala 3 version that has this bug, so this still can not be marked as an override :(
104104
var tmppos: Int = _
105105

0 commit comments

Comments
 (0)