autoproxy-lite's People
Forkers
jestanautoproxy-lite's Issues
Support for Scala 2.10
I am trying port autoproxy-lite plugin to Scala 2.10 (Here https://github.com/jestan/Autoproxy-Lite/tree/2.10.0) and while running test cases compiler is crashing it seems, any idea
[info] Compiling 8 Scala sources to /home/jestan/development/Autoproxy-Lite/examples/simple/target/scala-2.10/classes...
[error]
[error] while compiling: /home/jestan/development/Autoproxy-Lite/examples/simple/src/main/scala/autoproxy/test/CaseWithMixin.scala
[error] during phase: generatesynthetics
[error] library version: version 2.10.0
[error] compiler version: version 2.10.0
[error] reconstructed args: -d /home/jestan/development/Autoproxy-Lite/examples/simple/target/scala-2.10/classes -Xplugin-require:autoproxy -bootclasspath /home/jestan/programs/JDK/jdk1.7.0_09/jre/lib/resources.jar:/home/jestan/programs/JDK/jdk1.7.0_09/jre/lib/rt.jar:/home/jestan/programs/JDK/jdk1.7.0_09/jre/lib/sunrsasign.jar:/home/jestan/programs/JDK/jdk1.7.0_09/jre/lib/jsse.jar:/home/jestan/programs/JDK/jdk1.7.0_09/jre/lib/jce.jar:/home/jestan/programs/JDK/jdk1.7.0_09/jre/lib/charsets.jar:/home/jestan/programs/JDK/jdk1.7.0_09/jre/lib/jfr.jar:/home/jestan/programs/JDK/jdk1.7.0_09/jre/classes:/home/jestan/.sbt/boot/scala-2.10.0/lib/scala-library.jar -classpath /home/jestan/development/Autoproxy-Lite/examples/simple/target/scala-2.10/classes:/home/jestan/development/Autoproxy-Lite/annotation/target/scala-2.10/classes:/home/jestan/development/Autoproxy-Lite/plugin/target/scala-2.10/classes:/home/jestan/.sbt/boot/scala-2.10.0/lib/scala-compiler.jar:/home/jestan/.ivy2/cache/org.scala-lang/scala-reflect/jars/scala-reflect-2.10.0.jar:/home/jestan/.ivy2/cache/ch.qos.logback/logback-classic/jars/logback-classic-0.9.26.jar:/home/jestan/.ivy2/cache/ch.qos.logback/logback-core/jars/logback-core-0.9.26.jar:/home/jestan/.ivy2/cache/org.slf4j/slf4j-api/jars/slf4j-api-1.6.1.jar -Xplugin:/home/jestan/development/Autoproxy-Lite/plugin/target/scala-2.10/plugin_2.10-2.10.0.jar
[error]
[error] last tree to typer: This(class CaseWithMixinProxy)
[error] symbol: class CaseWithMixinProxy in package test (flags: )
[error] symbol definition: class CaseWithMixinProxy extends CaseWithMixin
[error] tpe: CaseWithMixinProxy.this.type
[error] symbol owners: class CaseWithMixinProxy -> package test
[error] context owners: method $asInstanceOf -> class CaseWithMixinProxy -> package test
[error]
[error] == Enclosing template or block ==
[error]
[error] DefDef( // final def $asInstanceOfT0: T0 in class CaseWithMixinProxy
[error] final
[error] "$asInstanceOf"
[error] TypeDef( // T0
[error]
[error] "T0"
[error] []
[error] TypeBoundsTree( // tree.tpe=
[error] // tree.tpe=Nothing
[error] // tree.tpe=Any
[error] )
[error] )
[error] List(Nil)
[error] // tree.tpe=T0
[error] CaseWithMixinProxy.this."instance"."$asInstanceOf" // final def $asInstanceOfT0: T0 in class Object
[error] )
[error]
[error] == Expanded type of tree ==
[error]
[error] ThisType(class CaseWithMixinProxy)
[error]
[error] uncaught exception during compilation: scala.reflect.internal.Types$TypeError
Warning: class not found for plugin in plugin/src/test/stub-jar/dynamic-mixin-stub.jar (autoproxy.plugin.AutoProxyPlugin)
error: Missing required plugin: autoproxy
error: source file 'examples/simple/src/main/scala/autoproxy/test/proxyAnnotation.scala' could not be found
[info] PluginSpec
[info]
[info] The plugin should should
[info] + compile a simple class
[info]
[info]
[info] Total for specification PluginSpec
[info] Finished in 17 ms
[info] 1 example, 0 failure, 0 error
[info]
[info] Passed: : Total 1, Failed 0, Errors 0, Passed 1, Skipped 0
[trace] Stack trace suppressed: run last simpleExamples/compile:compile for the full output.
error scala.reflect.internal.Types$TypeError: polymorphic expression cannot be instantiated to expected type;
[error] found : T0(in method $asInstanceOf)(in method $asInstanceOf)(in method $asInstanceOf)(in method $asInstanceOf)(in method $asInstanceOf)(in method $asInstanceOf)(in method $asInstanceOf)(in method $asInstanceOf)T0(in method $asInstanceOf)(in method $asInstanceOf)(in method $asInstanceOf)(in method $asInstanceOf)(in method $asInstanceOf)(in method $asInstanceOf)(in method $asInstanceOf)(in method $asInstanceOf)
[error] required: T0(in method $asInstanceOf)(in method $asInstanceOf)(in method $asInstanceOf)(in method $asInstanceOf)(in method $asInstanceOf)(in method $asInstanceOf)(in method $asInstanceOf)(in method $asInstanceOf)
[error] Total time: 19 s, completed Jun 25, 2013 2:18:34 PM
Missing setup instructions
How do I get the eclipse compiler to use the plugin? I've tried sbt but there's no jar command, and I'm not sure what I'd do with the jar when it's ready anyway
compilation error with lazy vals
I have a trait with lazy val and, when I try to write a proxy, getting this error
....
java.lang.Error: no-symbol does not have owner
trait Demo {
def id = 0
lazy val lastShowTime = System.currentTimeMillis()
}
class DemoProxy(@Proxy instance: Demo) extends Demo
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.