SerVB10/15/2021, 7:08 PM
SerVB10/29/2021, 4:58 PM
Even classes that look like common ones judging by name. So looks like a deep understanding of the new infra is required to adapt our code to it, almost from scratch. Or maybe when JS IR is migrated to it, we could reuse it again. For now, I just ported some pieces of our code to the new infra, but it's only about 5-10% of what's needed to be ported. Although, there are some good news: I see how we can simplify our current testing even more, there is still some unused stuff left from JS. • Continued with IrTry but now the blocker is that exceptions can't be constructed (there is some JS-specific logic). Next time: • Prettify our testing a bit more: remove more unneeded pieces; take a look at ignored tests for Python Backend and maybe remove those declarations because we now don't depend on JS. • Research constructing exceptions.
SerVB11/01/2021, 8:32 AM
Piotr Krzemiński11/02/2021, 12:21 PM
SerVB11/10/2021, 9:03 AM
SerVB11/12/2021, 2:26 PM
At the same time:
fun eq_double_any(a: Double, b: Any) = a == b eq_double_any(0.0, -0.0) // should be false but we in Python return true
fun eq_doubleN_double(a: Double?, b: Double) = a == b eq_doubleN_double(0.0, -0.0) // should be true (and we return true)
SerVB11/12/2021, 6:12 PM
Piotr Krzemiński11/14/2021, 7:34 AM
jimn11/16/2021, 6:06 AM
I came up with the notion that intellij is dominantly written in kotlin and kotlin has a PSI editor with syntax embedding which is therefore going to have significant export compatibility with kotlin as well, whether currently done or otherwise. in my code I would if i could simply wrap C code into an embedding and accept a guided tour of compiler errors to flesh out the declaration gaps needed. Instead I have been using sed and operator overloads to examine the gap and fill in the machinations that apparently already exist in a kotlin-native exports version of CPP. This also got me to thinking that this python project was making some mention of the steep difficulties in porting while there sits volumes of presumably kotlin-friendly pycharm code. The dichotomy appears unfortunate to me, that we pay and priotize editors which can perform language specific mappings while my experience proposing flexible language constructs in every language development conversation I have undertaken is almost always met with a summary that is not far from "we are very happy with how we solve programming problems and we feel that stability and usability excludes such matters". but if that's the case then why is there in fact so much effort undertaken from scratch to build front-end harnasses for the language that our editor front-ends are already doing a spectacular job of?
"<*>" will be illegal in 1.7
SerVB11/19/2021, 9:00 AM
"X object has no attribute 'constructor'"Those and similar are related to suspend functions support.
Inspect other failure reasons.From what I picked, mostly it's about some stuff in stdlib. And one was about variable names that are keywords in Python ("invalid syntax"). I will take a look at stdlib then. WASM one, as suggested. By the way, as K 1.6.0 is out, maybe it's time to sync with upstream...
SerVB11/19/2021, 2:27 PM
for me pretty stably 😞 I think I disable the plot generation for now
SerVB11/19/2021, 2:32 PM
SerVB11/19/2021, 4:10 PM
SerVB11/19/2021, 4:41 PM
SerVB11/26/2021, 4:47 PM
Piotr Krzemiński11/30/2021, 8:00 AM
Slackbot12/01/2021, 10:44 AM
SerVB12/03/2021, 6:56 PM
SerVB12/03/2021, 6:59 PM
SerVB12/10/2021, 6:23 PM
SerVB12/10/2021, 6:24 PM
SerVB12/10/2021, 6:31 PM
SerVB12/17/2021, 8:48 PM
martmists12/23/2021, 7:43 PM
Piotr Krzemiński01/19/2022, 1:54 PM
SerVB01/26/2022, 6:45 PM
Any ideas what the problem is? Probably too long path but then I'm wondering why it's worked before...
> Task :compiler:resolution:compileKotlin e: error while writing /home/servb/IdeaProjects/kotlin-python/compiler/resolution/build/classes/kotlin/main/org/jetbrains/kotlin/resolve/calls/components/CollectionTypeVariableUsagesInfo$isContainedInInvariantOrContravariantPositionsWithDependencies$isContainedAnyDependentTypeInReturnType$1$1.class (Permission denied)
SerVB02/04/2022, 11:59 AM