Skip to content

Commit e9fe005

Browse files
committed
Fix rebase breakage
1 parent c4f95f9 commit e9fe005

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sbt-bridge/test/xsbt/DependencySpecification.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ class DependencySpecification {
9292
"""object A {
9393
| def foo = { B; () }
9494
|}""".stripMargin
95-
val srcB = "object B { println("foo") }"
95+
val srcB = """object B { println("foo") }"""
9696

9797
val compilerForTesting = new ScalaCompilerForUnitTesting
9898
val classDependencies =

tests/run/xml-interpolation/XmlQuote_1.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ import scala.language.implicitConversions
66
case class Xml(parts: String, args: List[Any])
77

88
// Ideally should be an implicit class but the implicit conversion
9-
// has to be a rewrite method
9+
// has to be a inline method
1010
class XmlQuote(ctx: => StringContext) {
11-
rewrite def xml(args: => Any*): Xml = ~XmlQuote.impl('(ctx), '(args))
11+
inline def xml(args: => Any*): Xml = ~XmlQuote.impl('(ctx), '(args))
1212
}
1313

1414
object XmlQuote {
15-
implicit rewrite def XmlQuote(ctx: => StringContext): XmlQuote = new XmlQuote(ctx)
15+
implicit inline def XmlQuote(ctx: => StringContext): XmlQuote = new XmlQuote(ctx)
1616

1717
def impl(ctx: Expr[StringContext], args: Expr[Seq[Any]])
1818
(implicit tasty: Tasty): Expr[Xml] = {

0 commit comments

Comments
 (0)