summaryrefslogtreecommitdiffstats
path: root/docs/language-reference
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2021-12-22 16:50:58 -0500
committerGitHub <noreply@github.com>2021-12-22 16:50:58 -0500
commit1a1b2a0de67dccc1102449b8620830131d569cde (patch)
tree5008cf34a36c4ab3a56c12caa7cf3992ffdceecb /docs/language-reference
parent447b7e0e2be031409b1421b49c81f020353bf7c5 (diff)
Hotfix/doc typo5 (#2070)
* #include an absolute path didn't work - because paths were taken to always be relative. * Fix typos in introduction and conventional features. * Struct inheritance is allowed. Fix some typos.
Diffstat (limited to 'docs/language-reference')
-rw-r--r--docs/language-reference/07-declarations.md3
1 files changed, 0 insertions, 3 deletions
diff --git a/docs/language-reference/07-declarations.md b/docs/language-reference/07-declarations.md
index 14bd3bd34..527746e9c 100644
--- a/docs/language-reference/07-declarations.md
+++ b/docs/language-reference/07-declarations.md
@@ -314,11 +314,8 @@ struct Person : IHasAge, IHasName
{ .... }
```
-Currently only interface types may be named in the inheritance clause of a structure type.
When a structure type declares that it inherits from an interface, the programmer asserts that the structure type implements the required members of the interface.
-> Note: A future version of Slang may allow a structure type to inherit from another structure type.
-
### Syntax Details
A structure declaration does *not* need to be terminated with a semicolon: