Skip to content

Commit

Permalink
Address pull request feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
densh committed Jan 23, 2014
1 parent adf990a commit 0a529b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ trait Reifiers { self: Quasiquotes =>
mirrorBuildCall(nme.SyntacticBlock, tree)
case Block(Nil, other) =>
reifyTree(other)
case SyntacticBlock(stats) if stats.size > 1 =>
case SyntacticBlock(stats @ (_ :: _ :: _)) =>
reifyBuildCall(nme.SyntacticBlock, stats)
case Try(block, catches, finalizer) =>
reifyBuildCall(nme.SyntacticTry, block, catches, finalizer)
Expand Down
2 changes: 1 addition & 1 deletion src/reflect/scala/reflect/internal/StdAttachments.scala
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ trait StdAttachments {
*/
case object ForAttachment extends PlainAttachment

/** Identifies unit constants which were inserted by the compiler.
/** Identifies unit constants which were inserted by the compiler (e.g. gen.mkBlock)
*/
case object SyntheticUnitAttachment extends PlainAttachment

Expand Down

0 comments on commit 0a529b9

Please sign in to comment.