Thread overview |
---|
April 17, 2007 [Issue 1158] New: Missing line number: invalid mixin outside function scope | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=1158 Summary: Missing line number: invalid mixin outside function scope Product: D Version: 1.012 Platform: PC OS/Version: Windows Status: NEW Keywords: diagnostic Severity: minor Priority: P3 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: deewiant@gmail.com mixin(2); The above line generates the error "attribute argument to mixin must be a string, not (2)", but includes module and line number information only if placed within function scope. -- |
April 17, 2007 [Issue 1158] Missing line number: invalid mixin outside function scope | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1158 ------- Comment #1 from deewiant@gmail.com 2007-04-17 12:50 ------- Also happens with syntactically valid mixins resulting in invalid statements: mixin("2"); -- |
April 23, 2007 [Issue 1158] Missing line number: invalid mixin outside function scope | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1158 thomas-dloop@kuehne.cn changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Windows |All ------- Comment #2 from thomas-dloop@kuehne.cn 2007-04-23 12:55 ------- Added to DStress as http://dstress.kuehne.cn/nocompile/m/mixin_31_F.d http://dstress.kuehne.cn/nocompile/m/mixin_31_G.d -- |
June 19, 2008 [Issue 1158] Missing line number: invalid mixin outside function scope | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1158 clugdbug@yahoo.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |clugdbug@yahoo.com.au ------- Comment #3 from clugdbug@yahoo.com.au 2008-06-19 06:58 ------- *** Bug 2153 has been marked as a duplicate of this bug. *** -- |
July 09, 2008 [Issue 1158] Missing line number: invalid mixin outside function scope | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1158 clugdbug@yahoo.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #4 from clugdbug@yahoo.com.au 2008-07-09 07:13 ------- Fixed DMD1.032 -- |
July 10, 2008 [Issue 1158] Missing line number: invalid mixin outside function scope | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1158 ------- Comment #5 from bugzilla@digitalmars.com 2008-07-09 22:38 ------- Fixed dmd 1.032 and 2.016 -- |
Copyright © 1999-2021 by the D Language Foundation