Skip to content

Commit

Permalink
Fix 1001222
Browse files Browse the repository at this point in the history
This bug is introduced with commit 88132af
  • Loading branch information
kiritsuku committed Aug 25, 2012
1 parent b029fa2 commit 1a29189
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -105,7 +105,9 @@ trait SafeSymbol extends CompilerAccess with PimpedTrees {
(tpt :: whereClauses).flatMap(safeSymbol)

case tpe @ Select(qualifier, _) =>
global.askOption(() => tpe.symbol -> tpe.namePosition).toList ::: safeSymbol(qualifier)
val tpeSym = if (hasSourceCodeRepresentation(tpe)) global.askOption(() => tpe.symbol -> tpe.namePosition).toList else Nil
val qualiSym = if(hasSourceCodeRepresentation(qualifier)) safeSymbol(qualifier) else Nil
tpeSym ::: qualiSym

case _ =>
// the local variable backing a lazy value is called 'originalName$lzy'. We swap it here for its
Expand Down

0 comments on commit 1a29189

Please sign in to comment.