2
0
Эх сурвалжийг харах

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

Aleksandr Kuzmenko 5 жил өмнө
parent
commit
6803582b9e
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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()