Explorar o código

respect `--no-inline` again (fixes #9882)

Aleksandr Kuzmenko %!s(int64=5) %!d(string=hai) anos
pai
achega
6803582b9e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/typing/fields.ml

+ 1 - 1
src/typing/fields.ml

@@ -127,7 +127,7 @@ let field_access ctx mode f fh e pfield =
 		in
 		let default () =
 			match m, mode with
-			| MethInline, _ ->
+			| MethInline, _ when ctx.g.doinline ->
 				AKField (make_access true)
 			| MethMacro, MGet ->
 				display_error ctx "Macro functions must be called immediately" pfield; normal()