Comments (6)
- please verify fix in fresh 1.4.0:
https://bintray.com/random-maven/maven/scalor-maven-plugin_2.12 - working project example for reference:
https://github.com/random-maven/scalor-maven-plugin/blob/develop/demo/pom.xml#L240
https://github.com/random-maven/scalor-maven-plugin/blob/develop/demo/pom.xml#L316 - a way to test is:
- delete
${project.basedir}/.settings/...
- issue from menu:
${project} -> Maven -> Update Project ...
from scalor-maven-plugin.
I can't find any way to confirm whether the ascii names have actually been applied in 2.12 - both scalap and the -Xprint:kind-projector
parameter print with the parameters used in type lambdas as ?$0$
etc.. I remember previous versions of scala behaving differently but can't now reproduce. Suggest treating this as fixed? Sorry I didn't think through my use case thoroughly enough.
from scalor-maven-plugin.
- try to view with http://jd.benow.ca/
- try to access expected generated member via reflection
- post a minimal working project somewhere so I can take a look
from scalor-maven-plugin.
I don't think the generated type names exist at all in the Java bytecode - see https://github.com/non/kind-projector#under-the-hood for the kind of code that gets generated, the type Λ
is entirely gone at runtime. I can link a minimal project with kind-projector set up and running if you want, but I can't find any way to distinguish whether it was using ascii names or not.
from scalor-maven-plugin.
- the following test:
- shows both in Maven and Eclipse
Running kind.SystemPropertyTest
property=null
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.292 sec - in kind.SystemPropertyTest
-
meaning that
-D
options are not propagated by compiler,
at least in macro context, although it still may work in plugin context -
since suggested way to alter plugin behavior is
-P
you may want send PR to https://github.com/non/kind-projector
i.e.-P:scalajs:sjsDefinedByDefault
https://www.scala-js.org/doc/interoperability/sjs-defined-js-classes.html
and also use some logging to verify options activation
from scalor-maven-plugin.
resolved https://github.com/random-maven/scalor-maven-plugin/releases/tag/1.4.0.20180329174003
from scalor-maven-plugin.
Related Issues (20)
- relax plugin version verification rules HOT 7
- proper implementation for `scala.compiler.additionalParams` HOT 3
- use separate source regex for compile and scaladoc HOT 14
- use constant default options for JavaC and ScalaC HOT 4
- validate compile phases HOT 3
- mysterious encoding during flatten:flatten HOT 13
- zinc server HOT 1
- document windows build setup HOT 3
- Problems compiling twirl-templates HOT 1
- Provide Scala.js sbt plugin to Maven translation guide
- Provide Scala.js sbt plugin to Scalor mapping guide
- Scala library doesn't get picked if it's in test scope HOT 3
- Plugin thinks default target is 1.8, but is 1.6 when compiling for Scala 2.11.12 HOT 1
- Better advanced usage link HOT 2
- Bloop support HOT 2
- Scala source code to javadoc HOT 5
- Scala 3 Support
- Build Not Working Due to Bintray
- how to use in idea for scala.js?
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.
from scalor-maven-plugin.