From 506572b6a2d2abed0e438635dad5896b4ebfc120 Mon Sep 17 00:00:00 2001 From: Rafal Kupiec Date: Thu, 16 May 2019 12:00:34 +0200 Subject: [PATCH] Update page 'Future AerScript Versions' --- Future-AerScript-Versions.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Future-AerScript-Versions.md b/Future-AerScript-Versions.md index f36923a..c450f8c 100644 --- a/Future-AerScript-Versions.md +++ b/Future-AerScript-Versions.md @@ -12,6 +12,9 @@ A right associative \** operator can be added to support exponentiation, along w printf("2 ** 3 = %d\n", 2 ** 3); // 8 printf("2 ** 3 ** 2 = %d\n", 2 ** 3 ** 2); // 512 +### +Variables that are declared at method/closure scope could have an implicit type '''auto'''. + ### 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.