← Back to index
|
Original Bugzilla link
Bug 17198 – rdmd does not recompile when --extra-file is added
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
tools
Product
D
Version
D2
Platform
All
OS
All
Creation time
2017-02-19T16:52:00Z
Last change time
2017-08-10T11:40:50Z
Keywords
pull
Assigned to
ag0aep6g
Creator
dlang
Comments
Comment #0
by dlang — 2017-02-19T16:52:34Z
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 #1
by ag0aep6g — 2017-02-20T10:47:22Z
Simplified test case: test.d: ---- int x = 1; int main() { return x; } ---- test2.d: ---- import test; static this() { x = 0; } ---- rdmd invocations as before. Fix:
https://github.com/dlang/tools/pull/218
Comment #2
by ag0aep6g — 2017-02-20T14:32:02Z
(In reply to ag0aep6g from comment #1) > Fix:
https://github.com/dlang/tools/pull/218
Superseded by <
https://github.com/dlang/tools/pull/219
>.
Comment #3
by github-bugzilla — 2017-02-26T01:40:10Z
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 #219 from aG0aep6G/17198 fix issue 17198 - rdmd does not recompile when --extra-file is added
Comment #4
by github-bugzilla — 2017-03-05T01:57:38Z
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 #219 from aG0aep6G/17198
Comment #5
by github-bugzilla — 2017-08-10T11:40:50Z
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 #219 from aG0aep6G/17198