From 28f8693ae2e22eed56692472eb740ce00a4b828e Mon Sep 17 00:00:00 2001 From: Rafal Kupiec Date: Thu, 16 May 2019 12:03:33 +0200 Subject: [PATCH] Update page 'Future AerScript Versions' --- Future-AerScript-Versions.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Future-AerScript-Versions.md b/Future-AerScript-Versions.md index 71da6cd..a452f95 100644 --- a/Future-AerScript-Versions.md +++ b/Future-AerScript-Versions.md @@ -15,9 +15,8 @@ A right associative \** operator can be added to support exponentiation, along w ### AUTO keyword Variables that are declared at method/closure scope could have an implicit type ___auto___. An implicitly typed local variable should be strongly typed just as if programmer had declared the type himself, but the compiler determines the type. - auto $var = 'text'; // Implicitly typed string string $var = 'text' // Explicitly typed string - + auto $var = 'text'; // Implicitly typed string ### Operator overloading It should be possible to redeclare or overload most of the built-in operators available in AerScript. Thus a programmer could use operators with user-defined object types as well. Overloaded operators are functions with special names the keyword operator followed by the symbol for the operator being defined. similar to any other function, an overloaded operator has a return type and a parameter list.