scala -Xprint:typer -e "class A(val i: Int)"
prints the desugarred expression after the typer
phase. Use scala -Xshow-phases
to get a list of all phases.
Paste this into a REPL session or in a file loaded with the :load
command:
{ | |
"cmd": ["tsc", "$file"], | |
"file_regex": "(.*\\.ts?)\\s\\(([0-9]+)\\,([0-9]+)\\)\\:\\s(...*?)$", | |
"selector": "source.ts", | |
"osx": { | |
"path": "/usr/local/bin:/opt/local/bin" | |
}, | |
"windows": { | |
"cmd": ["tsc.cmd", "$file"], | |
"path": "C:\\Program Files\\nodejs\\;C:\\Users\\Lukas\\AppData\\Roaming\\npm\\" |
<!DOCTYPE html> | |
<meta charset=utf-8> | |
<title>Minimal Plunk</title> |