summaryrefslogtreecommitdiff
path: root/test/pending/pos/t2636.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/pending/pos/t2636.scala')
-rw-r--r--test/pending/pos/t2636.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/pending/pos/t2636.scala b/test/pending/pos/t2636.scala
new file mode 100644
index 0000000000..4e6ffb4930
--- /dev/null
+++ b/test/pending/pos/t2636.scala
@@ -0,0 +1,7 @@
+object o {
+ val props = new scala.collection.mutable.ListBuffer[(String,String)]
+ lazy val property = new {
+ def update(propName: String, p: String) = props += ((propName, p))
+ }
+ def crash = property("a") = "b"
+} \ No newline at end of file