Commit 788cff9e authored by Gusztav Adamis's avatar Gusztav Adamis
Browse files

Commentst to lengthof + inline template

parent cf10218e
Loading
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -110,6 +110,8 @@ A dedicated notion for inline templates is not necessary, as they type
annotations could be promoted to a type-conversion operator and template
literals are already part of the language.

//since now there is no type-conversion operator this is not true -- AG


## Modified Templates

@@ -172,6 +174,7 @@ Semantics of list types need harmonization and simplification.

```ttcn3
lengthof('12*'H)  // 3
//NO: shall cause runtime error - AG
lengthof({1,2,?}) // 3
lengthof({1,2,*}) // causes runtime error