mirror of
https://github.com/irmen/prog8.git
synced 2024-11-22 15:33:02 +00:00
* SourceCode.toString() now states both, java class and .origin
This commit is contained in:
parent
d3e026d82a
commit
4096aae8d4
@ -29,13 +29,9 @@ abstract class SourceCode() {
|
||||
|
||||
/**
|
||||
* Deliberately does NOT return the actual text.
|
||||
* Use [getCharStream].
|
||||
* For this - if at all - use [getCharStream].
|
||||
*/
|
||||
final override fun toString() = super.toString()
|
||||
|
||||
|
||||
|
||||
|
||||
final override fun toString() = "${this.javaClass.name}[${this.origin}]"
|
||||
|
||||
// "static" factory methods
|
||||
companion object {
|
||||
|
Loading…
Reference in New Issue
Block a user