You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: compiler/src/dotty/tools/dotc/typer/Typer.scala
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2757,14 +2757,14 @@ class Typer extends Namer
2757
2757
readaptSimplified(Inliner.inlineCall(newCall))
2758
2758
}
2759
2759
elseif (ctx.settings.XignoreScala2Macros.value) {
2760
-
ctx.warning("Scala 2 macro cannot be used in Dotty, this call will crash at runtime. See http://dotty.epfl.ch/docs/reference/dropped-features/macros.html", tree.sourcePos.startPos)
2760
+
ctx.warning("Scala 2 macro cannot be used in Dotty, this call will crash at runtime. See https://dotty.epfl.ch/docs/reference/dropped-features/macros.html", tree.sourcePos.startPos)
2761
2761
Throw(New(defn.MatchErrorClass.typeRef, Literal(Constant(s"Reached unexpanded Scala 2 macro call to ${tree.symbol.showFullName} compiled with -Xignore-scala2-macros.")) ::Nil))
2762
2762
.withType(tree.tpe)
2763
2763
.withSpan(tree.span)
2764
2764
}
2765
2765
else {
2766
2766
ctx.error(
2767
-
"""Scala 2 macro cannot be used in Dotty. See http://dotty.epfl.ch/docs/reference/dropped-features/macros.html\n"
2767
+
"""Scala 2 macro cannot be used in Dotty. See https://dotty.epfl.ch/docs/reference/dropped-features/macros.html\n"
2768
2768
|To turn this error into a warning, pass -Xignore-scala2-macros to the compiler""".stripMargin, tree.sourcePos.startPos)
<td>and many more, check the <ahref="http://dotty.epfl.ch/docs/reference/overview.html">overview page</a> for a comprehensive list</td>
104
+
<td>and many more, check the <ahref="https://dotty.epfl.ch/docs/reference/overview.html">overview page</a> for a comprehensive list</td>
105
105
<td></td>
106
106
</tr>
107
107
</tbody>
@@ -112,7 +112,7 @@ <h1 id="talks-on-dotty">Talks on Dotty?</h1>
112
112
<li><ahref="https://www.youtube.com/watch?v=GHzWqJKFCk4">Scala's Road Ahead</a> by Martin Odersky (<ahref="http://www.slideshare.net/Odersky/scala-days-nyc-2016">slides</a>)</li>
113
113
<li><ahref="https://www.youtube.com/watch?v=WxyyJyB_Ssc">Compilers are Databases</a> by Martin Odersky (<ahref="http://www.slideshare.net/Odersky/compilers-are-databases">slides</a>)</li>
114
114
<li><ahref="https://www.youtube.com/watch?v=aftdOFuVU1o">Exploring the future of Scala</a> by Dmitry Petrashko (<ahref="https://d-d.me/scalaworld2015/#/">slides</a>)</li>
115
-
<li><ahref="http://dotty.epfl.ch/docs/resources/talks.html">Deep Dive with Dotty</a></li>
115
+
<li><ahref="https://dotty.epfl.ch/docs/resources/talks.html">Deep Dive with Dotty</a></li>
116
116
</ul>
117
117
<h1id="i-have-more-questions">I have more questions!</h1>
0 commit comments