mattmoore
04/21/2020, 9:55 PMscalac -Xshow-phases to get something like this:
phase name id description
---------- -- -----------
parser 1 parse source into ASTs, perform simple desugaring
namer 2 resolve names, attach symbols to named trees
packageobjects 3 load package objects
typer 4 the meat and potatoes: type the treesdmitriy.novozhilov
04/22/2020, 6:21 AMbar while resolving call (1)
fun foo() {
...
val x = bar()
...
}
fun bar() = run {
...
1
}dmitriy.novozhilov
04/22/2020, 6:26 AMmattmoore
04/22/2020, 5:25 PMbjonnh
04/23/2020, 2:51 PMudalov
-Xlist-phases. But naturally those are only phases of the backend.