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
// val Apply(TypeApply(Select(sc, _), _), args) = tree
3270
+
// val newCall = ref(defn.InternalStringContextMacroModule_f).appliedTo(sc).appliedToArgs(args).withSpan(tree.span)
3271
+
// readaptSimplified(Inliner.inlineCall(newCall))
3272
+
Literal(Constant("")) // FIXME: intrinsify to be able to compile the scala library from dotty without using macros
3272
3273
elseif (tree.symbol.isScala2Macro &&
3273
3274
// raw and s are eliminated by the StringInterpolatorOpt phase
3274
3275
tree.symbol != defn.StringContext_raw&&
3276
+
tree.symbol != defn.StringContext_f&&
3275
3277
tree.symbol != defn.StringContext_s)
3276
3278
if (ctx.settings.XignoreScala2Macros.value) {
3277
3279
report.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.srcPos.startPos)
0 commit comments