breandan
02/14/2023, 3:01 AM./gradlew browserDevelopmentRun
would throw the following error in Chrome and Safari but otherwise work in Firefox?
Uncaught TypeError: _this__u8e3s4.get_first_irdx8n_k$ is not a function
at get_LHS (CFG.kt?0f81:15:32)
at getParametersIn (CFG.kt?0f81:120:32)
at eliminateParametricityFromLHS (CFG.kt?0f81:136:31)
at normalize (Standard.kt?4256:138:43)
at normalForm$delegate$lambda (CFG.kt?0f81:32:36)
at eval (Graph.kt?c30b:185:29)
at protoOf.getOrPut_x8bkas_k$ (Standard.kt?4256:13:31)
at sam$kotlin_properties_ReadOnlyProperty$0.eval [as function_1] (Graph.kt?c30b:185:11)
at protoOf.getValue_4lco8v_k$ (galoisenne.js:14950:17)
at get_normalForm (CFG.kt?0f81:32:28)
Here is the relevant context for the Kotlin code in question:
typealias Π2<A, B> = Pair<A, B>
typealias Σᐩ = String
typealias Production = Π2<Σᐩ, List<Σᐩ>>
typealias CFG = Set<Production>
val Production.LHS: Σᐩ get() = first
Chris Lee
02/14/2023, 3:53 AMbreandan
02/14/2023, 4:22 AMChris Lee
02/14/2023, 5:25 AM_this__u8e3s4.get_first_irdx8n_k$
exist and look like a function?breandan
02/14/2023, 5:28 AMChris Lee
02/14/2023, 5:30 AM_this__u8e3s4
andylamax
02/14/2023, 5:35 AMbreandan
02/14/2023, 5:36 AM1.8.20-Beta
Chris Lee
02/14/2023, 5:41 AMbreandan
02/14/2023, 5:52 AMandylamax
02/14/2023, 5:53 AMbreandan
02/14/2023, 5:55 AM./gradlew clean kotlinUpgradeYarnLock browserDevelopmentRun --continuous
, same errorChris Lee
02/14/2023, 5:55 AMbreandan
02/14/2023, 5:59 AMChris Lee
02/14/2023, 6:01 AM