From 7cf3395d857d2e05fb3a83dc67173a69c828807f Mon Sep 17 00:00:00 2001 From: Arne Döring Date: Fri, 11 Oct 2019 08:43:58 +0200 Subject: refactor illegal iterator assignment detection (#12212) * refactor illegal iterator assignment detection * delete crappy test --- tests/iter/titerassignerr.nim | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 tests/iter/titerassignerr.nim (limited to 'tests/iter') diff --git a/tests/iter/titerassignerr.nim b/tests/iter/titerassignerr.nim deleted file mode 100644 index caa56c4ad..000000000 --- a/tests/iter/titerassignerr.nim +++ /dev/null @@ -1,8 +0,0 @@ -discard """ - errormsg: "inline iterators are not first-class / cannot be assigned to variables" - line: 8 -""" - -iterator foo: int = - yield 2 -let x = foo -- cgit 1.4.1-2-gfad0