1.2.0-SNAPSHOT started bug core refactor to support all new future and more strict rules (namely, fundamental difference between properties, functions and delegates)
This commit is contained in:
1 parent
10b7cb2db2
commit
b9831a422a
33 files changed
+1322
-1078
No files matched your search
@@ -211,7 +211,7 @@ fun Iterable.sortedBy(predicate) {
|
||||
|
||||
/* Return a shuffled copy of the iterable as a list. */
|
||||
fun Iterable.shuffled() {
|
||||
toList().apply { shuffle() }
|
||||
toList.apply { shuffle() }
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -267,7 +267,7 @@ class StackTraceEntry(
|
||||
fun Exception.printStackTrace() {
|
||||
println(this)
|
||||
var lastEntry = null
|
||||
for( entry in stackTrace() ) {
|
||||
for( entry in stackTrace ) {
|
||||
if( lastEntry == null || lastEntry !is StackTraceEntry || lastEntry.line != entry.line )
|
||||
println("\tat "+entry.toString())
|
||||
lastEntry = entry
|
||||
|
||||
Reference in new issue
Block a user