@@ -1557,7 +1557,7 @@ string to a number.
15571557
15581558If a type is given where it is not expected you can get *E1272* .
15591559
1560- If a type is incomplete you get *E1363*, e.g. when you have an object for
1560+ If a type is incomplete you get *E1363* , e.g. when you have an object for
15611561which the class is not known (usually that is a null object).
15621562
15631563Type inference ~
@@ -1756,7 +1756,7 @@ Exporting an item can be written as: >
17561756 export interface MyClass ...
17571757< *E1043* *E1044*
17581758As this suggests, only constants, variables, `:def ` functions and classes can
1759- be exported. {not implemented yet: class, interface}
1759+ be exported.
17601760
17611761 *E1042*
17621762`:export ` can only be used in Vim9 script, at the script level.
@@ -1862,9 +1862,9 @@ However, the namespace cannot be resolved on its own: >
18621862<
18631863This also affects the use of | <SID> | in the legacy mapping context. Since
18641864| <SID> | is only a valid prefix for a function and NOT for a namespace, you
1865- cannot use it
1866- to scope a function in a script local namespace. Instead of prefixing the
1867- function with | <SID> | you should use | <ScriptCmd> | . For example: >
1865+ cannot use it to scope a function in a script local namespace. Instead of
1866+ prefixing the function with | <SID> | you should use | <ScriptCmd> | . For example:
1867+ >
18681868 noremap ,a <ScriptCmd>:call s:that.OtherFunc()<CR>
18691869<
18701870 *:import-cycle*
0 commit comments