Comment #1 by andrej.mitrovich — 2013-08-22T09:39:11Z
Introduced by f5f71ce1f50f2c33240475c44376cf176b75217e by fixing Issue 3445.
prefix is first called in declarationToDocBuffer, which adds one or more of these:
deprecated
static
final
abstract
const
immutable
synchronized
But then toCBufferWithAttributes for functions is called which adds one or more of these when it calls MODtoBuffer:
immutable
shared
const
inout
So there's a bit of an overlap.
Comment #2 by andrej.mitrovich — 2013-08-22T10:05:17Z
Comment #3 by andrej.mitrovich — 2013-08-22T10:06:29Z
There's another problem, synchronized methods were usually handled in the prefix function, which output "synchronized", but then MODtoBuffer in toCBufferWithAttributes outputs "shared". So I'll file this as another bug once this pull is merged first.
Comment #4 by github-bugzilla — 2013-08-26T14:26:31Z