From d790586d318584d8c7adf95bf92f1e871a557aac Mon Sep 17 00:00:00 2001 From: Stewart Gebbie Date: Sun, 21 Nov 2021 21:51:16 +0200 Subject: [PATCH] Remove unnecessary alias types. ponylang/ponyc#3922 --- text/0000-json-getters.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/text/0000-json-getters.md b/text/0000-json-getters.md index 24e0ca70..4b154132 100644 --- a/text/0000-json-getters.md +++ b/text/0000-json-getters.md @@ -26,9 +26,9 @@ mutations to the document and then recover and `iso` reference afterwards. The implementation consists of using the `apply()` style access to introducing three getters, into `JsonDoc`, `JsonObject` and `JsonArray` respectively: -- document data access: `fun apply(): this->JsonType! => ...`, -- object data access: `fun apply(): this->Array[JsonType]! => ...`, -- array data access: `fun apply(): this->Map[String, JsonType]! => ...`. +- document data access: `fun apply(): this->JsonType => ...`, +- object data access: `fun apply(): this->Array[JsonType] => ...`, +- array data access: `fun apply(): this->Map[String, JsonType] => ...`. These access methods can then be used via direct calls or via syntactic sugar calls.