Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

catch up with Scala 2.11.2 version (the most recent scala virtualized version)#25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
julienrf merged 3 commits intojs-scala:masterfromtimxzl:develop
Jun 30, 2015

Conversation

@timxzl
Copy link
Contributor

bump scala version to 2.11.2
remove MacroParadise and change older plugins like continuations to their most recent alternatives.
catch up with Scala 2.11.2 style, fixing errors and reducing warnings

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Why was this change needed?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

because Manifest.erasure has been deprecated by .runtimeClass

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I was talking about the change ofscala.Object forAnyRef

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

oh, that one. BecauseScalaObject has been removed, and the closest thing to it is AnyRef.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

To my understanding, the code

valparents= traitClazz.getInterfaces.filter(_!= implicitly[Manifest[ScalaObject]].runtimeClass)

is to filter out the uninterestingScalaObject root interface that is definitely inherited by all classes we are interested in. SinceScalaObject has beenremoved from the language, it seems that we no longer need this filter. Or do you think we still want to filter outAnyRef as an uninteresting root interface?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Dothis test still pass with your change?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Yes, it still passes.

> testOnly *TestProxy[info] TestProxy:[info] - testProxy[info] Run completed in 682 milliseconds.[info] Total number of tests run: 1[info] Suites: completed 1, aborted 0[info] Tests: succeeded 1, failed 0, canceled 0, ignored 0, pending 0[info] All tests passed.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Great, so I merge your PR. Thanks again!

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

you're welcome! Thanks again for such a great project!

@julienrf
Copy link
Member

Hi,

Thanks for this!

I just left one comment. Can you address it, please?

BTW, just out of curiousity, in which context are you using js-scala?

@timxzl
Copy link
ContributorAuthor

Hi@julienrf ,

Thank you for the prompt reply!

I have added a line comment in reply to yours.

We are starting a project which generates both C++ and Javascript code, and we would like to try out js-scala as the code generator for Javascript. Seems like js-scala is a very neat tool that fits our need.

Thanks a lot for the great work!

julienrf added a commit that referenced this pull requestJun 30, 2015
catch up with Scala 2.11.2 version (the most recent scala virtualized version)
@julienrfjulienrf merged commit0b57718 intojs-scala:masterJun 30, 2015
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@timxzl@julienrf

[8]ページ先頭

©2009-2025 Movatter.jp