summaryrefslogtreecommitdiff
path: root/src/reflect
diff options
context:
space:
mode:
authorJosh Suereth <Joshua.Suereth@gmail.com>2012-09-12 19:21:52 -0700
committerJosh Suereth <Joshua.Suereth@gmail.com>2012-09-12 19:21:52 -0700
commitcfd874ac173ca8d6542921aeea60e1f5ace80b9d (patch)
treef88c61753a27da312b4f56664e92cc0f71facda0 /src/reflect
parentc168c69e8614f701b6c89e01bdd38a54e154e9cd (diff)
parent9568dc9d1a8e69812f4ec0b72a11a38edaa51f2a (diff)
downloadscala-cfd874ac173ca8d6542921aeea60e1f5ace80b9d.tar.gz
scala-cfd874ac173ca8d6542921aeea60e1f5ace80b9d.tar.bz2
scala-cfd874ac173ca8d6542921aeea60e1f5ace80b9d.zip
Merge pull request #1255 from Blaisorblade/issue/6306
Fix SI-6306 on testcase
Diffstat (limited to 'src/reflect')
-rw-r--r--src/reflect/scala/reflect/internal/TreeInfo.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reflect/scala/reflect/internal/TreeInfo.scala b/src/reflect/scala/reflect/internal/TreeInfo.scala
index 3a930a195b..6ef4c3f660 100644
--- a/src/reflect/scala/reflect/internal/TreeInfo.scala
+++ b/src/reflect/scala/reflect/internal/TreeInfo.scala
@@ -67,7 +67,7 @@ abstract class TreeInfo {
/** Is tree an expression which can be inlined without affecting program semantics?
*
- * Note that this is not called "isExprSafeToInline" since purity (lack of side-effects)
+ * Note that this is not called "isExprPure" since purity (lack of side-effects)
* is not the litmus test. References to modules and lazy vals are side-effecting,
* both because side-effecting code may be executed and because the first reference
* takes a different code path than all to follow; but they are safe to inline