Browse Source

Use "inline" in the String#code docs

This is the same wording that's used in the String#charCodeAt() docs where this feature is mentioned. Also, it seems a bit clearer than "resolve".
Gama11 10 years ago
parent
commit
806344ab0a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      typer.ml

+ 1 - 1
typer.ml

@@ -3871,7 +3871,7 @@ and handle_display ctx e_ast iscall with_type p =
 		let fields = match fst e_ast with
 			| EConst(String s) when String.length s = 1 ->
 				let cf = mk_field "code" ctx.t.tint e.epos in
-				cf.cf_doc <- Some "The character code of this character (resolved at compile-time)";
+				cf.cf_doc <- Some "The character code of this character (inlined at compile-time).";
 				cf.cf_kind <- Var { v_read = AccNormal; v_write = AccNever };
 				PMap.add cf.cf_name cf fields
 			| _ ->