Skip to content

Commit abb9180

Browse files
committed
compiler: Add since for compile:string
1 parent ed8cd22 commit abb9180

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/compiler/src/compile.erl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,6 +1049,7 @@ noenv_forms(Forms, Opt) when is_atom(Opt) ->
10491049
noenv_forms(Forms, [Opt|?DEFAULT_OPTIONS]).
10501050

10511051
-doc #{ equiv => string(String, []) }.
1052+
-doc #{ since => <<"OTP @OTP-1234567@">> }.
10521053
-spec string(String :: unicode:chardata()) -> CompRet :: comp_ret().
10531054

10541055
string(String) -> string(String, ?DEFAULT_OPTIONS).
@@ -1076,6 +1077,7 @@ entirely in memory without touching the file system.
10761077
{ok,foo,<<...>>}
10771078
```
10781079
""".
1080+
-doc #{ since => <<"OTP @OTP-1234567@">> }.
10791081
-spec string(String :: unicode:chardata(), Options :: [option()] | option()) ->
10801082
CompRet :: comp_ret().
10811083

@@ -1085,6 +1087,7 @@ string(String, Opt) when is_atom(Opt) ->
10851087
string(String, [Opt|?DEFAULT_OPTIONS]).
10861088

10871089
-doc #{ equiv => noenv_string(String, []) }.
1090+
-doc #{ since => <<"OTP @OTP-1234567@">> }.
10881091
-spec noenv_string(String :: unicode:chardata(), Options :: [option()] | option()) ->
10891092
comp_ret().
10901093

0 commit comments

Comments
 (0)