Code ---- class Hoge { static synchronized void fun() { } } ---- Compile error ---- test.d(4): Error: function test.Hoge.fun synchronized function fun must be a member of a class ---- Static synchronized member function became unsupported? or bug?
dmd version: 2.052
static sychronized is now broken in the DMDFE 1.067, used to work in 1.066. seems that some D2 code was merged between these two versions.
(In reply to comment #2) > static sychronized is now broken in the DMDFE 1.067, used to work in 1.066. > seems that some D2 code was merged between these two versions. this was broken by this commit: https://github.com/D-Programming-Language/dmd/commit/d19e57c3f0683ac3a0b290f5b73deb86aa1a6441
fixed in this pull request. https://github.com/D-Programming-Language/dmd/pull/48 (In reply to comment #3) > (In reply to comment #2) > > static sychronized is now broken in the DMDFE 1.067, used to work in 1.066. > > seems that some D2 code was merged between these two versions. > > this was broken by this commit: > https://github.com/D-Programming-Language/dmd/commit/d19e57c3f0683ac3a0b290f5b73deb86aa1a6441
Fixed by commits 80c9a57 and 7ec9a76.
https://github.com/D-Programming-Language/dmd/commit/80c9a5722a328099b1193d4d7cf43ea9c50fd565 https://github.com/D-Programming-Language/dmd/commit/7ec9a76518512e6536ebf42a904b7bd94059e63b
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル