toString
and toString()
#309
-
Hi 👋 We were using this repo as inspiration for another project and copied the final class CIString private (override val toString: String) from CIString.scala The end result is that a |
Beta Was this translation helpful? Give feedback.
Answered by
armanbilge
Feb 23, 2023
Replies: 1 comment
-
Hmm, I'm pretty sure those are the same thing? In Scala /*
* Decompiled with CFR 0.151.
*/
public final class CIString {
private final String toString;
private CIString(String toString) {
this.toString = toString;
}
public String toString() {
return this.toString;
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
valencik
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hmm, I'm pretty sure those are the same thing? In Scala
val
s are encoded as methods.