From 6379b70d952cf0eea96d205e14a291b441f9cd45 Mon Sep 17 00:00:00 2001 From: Som Snytt Date: Wed, 4 May 2016 12:44:40 -0700 Subject: SI-9045 Error on recursive ctor If the constructor invokes itself, say so. --- test/files/neg/t4460a.check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/files/neg/t4460a.check') diff --git a/test/files/neg/t4460a.check b/test/files/neg/t4460a.check index b711e7acb1..7a7618a114 100644 --- a/test/files/neg/t4460a.check +++ b/test/files/neg/t4460a.check @@ -1,4 +1,4 @@ -t4460a.scala:6: error: called constructor's definition must precede calling constructor's definition +t4460a.scala:6: error: constructor invokes itself def this() = this() // was binding to Predef. !! ^ one error found -- cgit v1.2.3