scala-native/scala-native

Scala 2.12 support

Closed this issue · 7 comments

densh commented

2.12 is near the end of the development cycle. We need to extend our nscplugin to support it.

densh commented

Here is the initial list of things that need to be done here:

  • Update port of scala.runtime to reflect recent changes in scala/scala#5110 and scala/scala#5098
  • Add proper support for closures to NIR
  • Test support for SAMs and how it works with FunctionPtrN

Any update on this?

densh commented

@zizhengtai We're currently focusing on improving javalib at the moment, 2.12 support is next on the list once we are reasonably happy with state of things on 2.11.

densh commented

We have to make sure we take this in mind: scala/scala#5944

Hello from 2018! Do you have some news, do you need any assistance, just in case?

densh commented

@fancywriter This issue is the blocker for the next release (0.4.0). Given that there are a number of major changes planned (new optimizer, updated interop, 2.12+ support etc), this release is likely to take longer than usual. Please follow the corresponding github milestone to track our progress towards it.

@densh I was looking at this scala/scala-collection-compat#45 and thinking that this could become more important when 2.12 support lands in Scala Native because then it seems that we could support 2.13 as well. It seems we have stubs for the methods that didn't link but when I inspect the class listed as suspect, I don't see any of the methods anyway now.

Do you think someone could resurrect this PR if you think this makes sense?

Will 2.11 still be supported as well?