Skip to content

toString and toString() #309

Answered by armanbilge
valencik asked this question in Q&A
Discussion options

You must be logged in to vote

Hmm, I'm pretty sure those are the same thing? In Scala vals are encoded as methods.

/*
 * 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;
    }
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by valencik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants