Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinking committed Jan 28, 2015
1 parent 74ea637 commit 9fe125e
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions typechecker/en/modules/declarations.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1624,8 +1624,9 @@ TypeConstraints?

<para>An <literal>object</literal> declaration specifies the name of the
value and the schema, supertypes, and implementation of the class. It
does not specify a type name. Instead, the type has a name assigned
internally by the compiler that is not available at compilation time.</para>
does not explicitly specify a type name. Instead, the type name is formed
by prefixing the value name with `\I`, turning it into an initial uppercase
identifier, as specified by <xref linkend="identifiersandkeywords"/>.</para>

<para>An <literal>object</literal> class:</para>

Expand Down Expand Up @@ -1681,14 +1682,9 @@ TypeConstraints?

shared \Ired red = \Ired();</programlisting>

<para>Where <literal>\Ired</literal> is a name generated by the compiler.
The algorithm for generating this name is not specified here.</para>

<para>Note that a member of an anonymous class that is not annotated
<literal>actual</literal> may only be accessed from within the body of
the anonymous class or by directly invoking the <literal>object</literal>
attribute.</para>

<para>Where <literal>\Ired</literal> is the type name assigned by the
compiler.</para>

<programlisting>shared object sql {
shared String escape(String string) { ... }
}
Expand Down

0 comments on commit 9fe125e

Please sign in to comment.