fix Issue 12011 - "Internal Compiler Error: Null field" on CTFE method call on .init