Skip to content

Commit e2a0969

Browse files
committed
Type information proposal.
1 parent 00e0b5a commit e2a0969

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/language-reference/proposals/type_information.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ Type information in both build- and runtime.
66
Builtin function ``type()`` returns given variables type information
77
in runtime.
88

9-
class type:
10-
id: i64
11-
name: string
9+
.. code-block:: mys
10+
11+
class type:
12+
id: i64
13+
name: string
1214
1315
Above members can be accessed in buildtime.

0 commit comments

Comments
 (0)