Registry / utility / macro-compat-2-10

macro-compat-2-10

JSON →
library1.1.1javamavenunverified

Compatibility library for Scala macros across different Scala versions.

<dependency> <groupId>org.typelevel</groupId> <artifactId>macro-compat_2.10</artifactId> <version>1.1.1</version> </dependency>
INSTALL
IMPORT
SIG · MACRO-COMPAT-2-10
M
macro-compat-2-10
utilityjavav1.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

bundle
macrocompat.bundle

Defines a simple Scala macro using macro-compat.

import macrocompat.bundle import scala.language.experimental.macros import scala.reflect.macros.whitebox.Context @bundle class MyMacro(val c: Context) { import c.universe._ def impl: Tree = q"""println("Hello from macro")""" }
Debug
Known issues
breakingMacro-compat 1.1.1 only supports Scala 2.10; not compatible with 2.11+.
fix
Use macro-compat 1.1.1 only for Scala 2.10 projects.
affects: 1.1.1
Upgrade
Version history
1.1.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
macro-compat-2-10 — mvn dependency:get macro-compat-2-10 · libregistry