Hello all,
currently, DMD accepts the following code, but the resulting binary
bus-errors at runtime:
---
import std.stdio;
void foo( string str ) () {
writefln( str );
}
void bar( string text ) {
foo!( text );
}
void main() {
bar( "asdf" );
}
---
Shouldn't this be a compile
klickverbot wrote:
Hello all,
currently, DMD accepts the following code, but the resulting binary
bus-errors at runtime:
---
import std.stdio;
void foo( string str ) () {
writefln( str );
}
void bar( string text ) {
foo!( text );
}
void main() {
bar( "asdf" );
}
---
Should