Skip to content

Commit 41f7c7a

Browse files
authored
Merge pull request github#12092 from jbj/aliases-upper-case
2 parents a639f13 + 73112e4 commit 41f7c7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/codeql/ql-language-reference/aliases.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ Use the following syntax to define an alias for a :ref:`type <types>`:
6363
Note that ``class`` is just a keyword. You can define an alias for any type—namely, :ref:`primitive types <primitive-types>`,
6464
:ref:`database types <database-types>` and user-defined :ref:`classes <classes>`.
6565

66-
For example, you can use an alias to abbreviate the name of the primitive type ``boolean`` to ``bool``:
66+
For example, you can use an alias to abbreviate the name of the primitive type ``boolean`` to ``Bool``:
6767

6868
.. code-block:: ql
6969
70-
class bool = boolean;
70+
class Bool = boolean;
7171
7272
Or, to use a class ``OneTwo`` defined in a :ref:`module <explicit-modules>` ``M`` in
7373
``OneTwoThreeLib.qll``, you could create an alias to use the shorter name ``OT`` instead:

0 commit comments

Comments
 (0)