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.