JohnReedLOL / scala-trace-debug

Macro based print debugging. Locates log statements in your IDE.
https://github.com/JohnReedLOL/pos
MIT License
115 stars 5 forks source link

implicit conversions "leaking" into objects in package #13

Closed JohnReedLOL closed 8 years ago

JohnReedLOL commented 8 years ago
import scala.trace.Pos
...
Pos.println() // this should not run

It appears that all the implicit conversions in the package object (.print. .println, etc) are "leaking" into all objects in that package - Pos, Debug, etc.

JohnReedLOL commented 8 years ago

Cannot be solved without either putting implicit conversions into a folder called "implicits" or by putting debug into a sub-folder of trace.

Leaving code as is because I like import scala.trace._ being able to import everything