[Issue 2748] -H -o- together should me no semantic phases

2019-08-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2748

RazvanN  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||razvan.nitu1...@gmail.com
 Resolution|--- |INVALID

--


[Issue 2748] -H -o- together should me no semantic phases

2009-03-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2748





--- Comment #2 from ma...@pochta.ru  2009-03-20 09:42 ---
(In reply to comment #0)
> -H -o- combination clearly mean I do not want further compilation phases such
> as semantic checks.

not clearly for me. I think, semantic analysis should happen always, there is
no point in accepting invalid code.


-- 



[Issue 2748] -H -o- together should me no semantic phases

2009-03-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2748





--- Comment #1 from shro8...@vandals.uidaho.edu  2009-03-19 13:58 ---

template Foo(T)
{
const char[] Foo = " /// This is a function that takes a "~T.stringof~"
"~T.stringof~" Bob("~T.stringof~" t)
{
   return t;
}
";
}

mixin(Foo!(int)); // doesn't work right but I wish it did


--