Closed wilzbach closed 7 years ago
Comment author: dlang@croco-puzzle.com
test.d:
module test;
import std.stdio;
void main() { B tmp = cast(B)Object.factory("test2.BB"); tmp.m1(); }
interface A { abstract void m1(); } interface B:A { abstract void m2(); } class AA:A { override void m1() { writeln("A"); } }
test2.d:
module test2;
import std.stdio; import test;
class BB:AA,B { override void m2() { writeln("B"); } }
And here is what I get when compiling:
$> rdmd test.d segmentation fault $> rdmd --extra-file=test2.d test.d segmentation fault $> rm -rf /tmp/.rdmd-1000/ $> rdmd --extra-file=test2.d test.d A
Using --chatty on the second invocation shows, that no recompilation takes place.
$> rdmd --version rdmd build 20170122 [...]
Comment author: ag0aep6g@gmail.com
Simplified test case:
rdmd invocations as before.
Comment author: ag0aep6g@gmail.com
(In reply to ag0aep6g from comment BZ#1)
Superseded by https://github.com/dlang/tools/pull/219.
Comment author: github-bugzilla@puremagic.com
Commits pushed to stable at https://github.com/dlang/tools
https://github.com/dlang/tools/commit/5ffca7b0e097644fbcffbee8ba755e4ae48c9d9f fix issue 17198 - rdmd does not recompile when --extra-file is added
https://github.com/dlang/tools/commit/790b223fd22193c7c7ef4d65bd3db226da800450 Merge pull request BZ#219 from aG0aep6G/17198
fix issue 17198 - rdmd does not recompile when --extra-file is added
Comment author: github-bugzilla@puremagic.com
Commits pushed to master at https://github.com/dlang/tools
https://github.com/dlang/tools/commit/5ffca7b0e097644fbcffbee8ba755e4ae48c9d9f fix issue 17198 - rdmd does not recompile when --extra-file is added
https://github.com/dlang/tools/commit/790b223fd22193c7c7ef4d65bd3db226da800450 Merge pull request BZ#219 from aG0aep6G/17198
Comment author: github-bugzilla@puremagic.com
Commits pushed to newCTFE at https://github.com/dlang/tools
https://github.com/dlang/tools/commit/5ffca7b0e097644fbcffbee8ba755e4ae48c9d9f fix issue 17198 - rdmd does not recompile when --extra-file is added
https://github.com/dlang/tools/commit/790b223fd22193c7c7ef4d65bd3db226da800450 Merge pull request BZ#219 from aG0aep6G/17198
Note: the issue was created automatically migrated from https://issues.dlang.org
Original bug ID: BZ#17198 From: dlang@croco-puzzle.com Reported version: D2 CC: ag0aep6g@gmail.com, dlang@croco-puzzle.com