diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2014-10-29 12:49:05 +0100 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2014-10-30 17:22:14 +0100 |
commit | 7ebc502c1a6eee7362a5c00a1561c97be10f4845 (patch) | |
tree | 4427a8a7235827b2ad6d2497cd0333394ea7aef4 /src/dotty/tools/dotc/ast/untpd.scala | |
parent | 0c967f06e9bf51e02903d1bb2c79fa1c4febf98d (diff) | |
download | dotty-7ebc502c1a6eee7362a5c00a1561c97be10f4845.tar.gz dotty-7ebc502c1a6eee7362a5c00a1561c97be10f4845.tar.bz2 dotty-7ebc502c1a6eee7362a5c00a1561c97be10f4845.zip |
Postponing desugaring of Try nodes.
Instead of desugaring in parser desugaring is now done during desugaring.
Diffstat (limited to 'src/dotty/tools/dotc/ast/untpd.scala')
-rw-r--r-- | src/dotty/tools/dotc/ast/untpd.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/ast/untpd.scala b/src/dotty/tools/dotc/ast/untpd.scala index a5072bc96..9e6ce4450 100644 --- a/src/dotty/tools/dotc/ast/untpd.scala +++ b/src/dotty/tools/dotc/ast/untpd.scala @@ -32,6 +32,8 @@ object untpd extends Trees.Instance[Untyped] with UntypedTreeInfo { def withName(name: Name)(implicit ctx: Context) = cpy.ModuleDef(this)(mods, name.toTermName, impl) } + case class ParsedTry(expr: Tree, handler: Tree, finalizer: Tree) extends TermTree + case class SymbolLit(str: String) extends TermTree case class InterpolatedString(id: TermName, strings: List[Literal], elems: List[Tree]) extends TermTree case class Function(args: List[Tree], body: Tree) extends Tree { |