Re: File names in string mixins

2018-04-15 Thread bauss via Digitalmars-d
On Sunday, 15 April 2018 at 10:09:36 UTC, Simen Kjærås wrote: In a thread[0] over on D.learn, bauss suggested adding a second argument to MixinExpressions, such that mixin("foo()", "my mixin") compiles. The use case for the extra argument is as an identifier that will be used in error messages,

File names in string mixins

2018-04-15 Thread Simen Kjærås via Digitalmars-d
In a thread[0] over on D.learn, bauss suggested adding a second argument to MixinExpressions, such that mixin("foo()", "my mixin") compiles. The use case for the extra argument is as an identifier that will be used in error messages, where the current behavior is to create a virtual file name o