You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class Thing {
a: Int
b: Int
function toString(): String ="\(a):\(b)"
}
localthingListing = newListing<Thing> {
new { a = 10; b = 20 }
new { a = 30; b = 40 }
}
localthingList = thingListing.toList()
resultListing = thingListing.join("\n")
resultList = thingList.join("\n")
resultListing = """ new Thing { a = 10; b = 20 } new Thing { a = 30; b = 40 } """resultList = """ new Thing { a = 10; b = 20 } new Thing { a = 30; b = 40 } """
Other instances where Pkl can convert arbitrary values to String (i.e. string interpolation) correctly call the value's toString() method.
The text was updated successfully, but these errors were encountered:
Given input
The expected output is
The actual output is
Other instances where Pkl can convert arbitrary values to
String
(i.e. string interpolation) correctly call the value'stoString()
method.The text was updated successfully, but these errors were encountered: