scautable
scautable copied to clipboard
Many columsn appear to blow up compiler
test("Some random CSV files") {
// val whiskey = CSV.absolutePath(Generated.resourceDir0 + "testFile" + Generated.pathSep + "whiskey.csv").toSeq
// assert(whiskey.length == 86)
val longRow = CSV.absolutePath(Generated.resourceDir0 + "testFile" + Generated.pathSep + "10001_columns.csv").toSeq
longRow.toSeq.ptbln
}
fails with
Exception occurred while executing macro expansion.
dotty.tools.dotc.core.RecursionOverflow: Recursion limit exceeded.
Maybe there is an illegal cyclic reference?
If that's not the case, you could also try to increase the stacksize using the -Xss JVM option.
For the unprocessed stack trace, compile with -Xno-enrich-error-messages.
Boosting both Xss to 100m and max inlines to 100,000 appears to get a true blue stack overflow.
[116] [error] 407 | val longRow = CSV.absolutePath(Generated.resourceDir0 + "testFile" + Generated.pathSep + "10001_columns.csv").toSeq
[116] [error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[116] [error] | Exception occurred while executing macro expansion.
[116] [error] | java.lang.StackOverflowError