-
Notifications
You must be signed in to change notification settings - Fork 50
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flatten Yaml Scalar Test #452
Flatten Yaml Scalar Test #452
Conversation
|
@charleskorn One issue is that the tests val scalar = YamlScalar("0x2", index1Line2Column4Path)
val floatException = shouldThrow<YamlScalarFormatException>(scalar::toFloat) // Gets converted to 2 in JS On the JVM, the test passes. On JavaScript, there is The below functions might need extra logic to cover this edge case in JavaScript:
|
This makes sense to me - could you please add this extra logic with Alternatively, should we raise this as a Kotlin bug? I'd expect those methods to behave identically across platforms. |
I'm not sure with this honestly. Looking at the code in Kotlin, they just delegate the behaviour to their related platforms. |
This issue has been automatically marked as stale because it has not had any activity in the last 60 days. It will automatically be closed if no further activity occurs in the next seven days to enable maintainers to focus on the most important issues. |
This issue has been automatically closed because it has not had any recent activity. |
#27 (comment)
listOf has been replaced with withData