Bug 2748 – -H -o- together should me no semantic phases
Status
RESOLVED
Resolution
INVALID
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2009-03-19T13:52:07Z
Last change time
2019-08-20T11:07:15Z
Assigned to
No Owner
Creator
david
Comments
Comment #0 by davidl — 2009-03-19T13:52:07Z
-H -o- combination clearly mean I do not want further compilation phases such as semantic checks.
Comment #1 by shro8822 — 2009-03-19T13:58:08Z
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
Comment #2 by dfj1esp02 — 2009-03-20T09:42:48Z
(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.