From e59c5549249d0d8955bb5bcb018d903364b60dc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Wa=C5=9Bko?= Date: Tue, 21 Jun 2022 15:41:20 +0200 Subject: [PATCH] Fixes after this|->self remapping --- distribution/lib/Standard/Base/0.0.0-dev/src/System/File.enso | 2 +- .../lib/Standard/Table/0.0.0-dev/src/Io/File_Format.enso | 2 +- test/Table_Tests/src/Data_Formatter_Spec.enso | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/distribution/lib/Standard/Base/0.0.0-dev/src/System/File.enso b/distribution/lib/Standard/Base/0.0.0-dev/src/System/File.enso index 9b0f1759d18d9..28601e48ab6ff 100644 --- a/distribution/lib/Standard/Base/0.0.0-dev/src/System/File.enso +++ b/distribution/lib/Standard/Base/0.0.0-dev/src/System/File.enso @@ -758,7 +758,7 @@ type Output_Stream Useful when integrating with polyglot functions requiring an `OutputStream` as an argument. with_java_stream : (Java_Output_Stream -> Any) -> Any - with_java_stream f = this.stream_resource . with f + with_java_stream f = self.stream_resource . with f ## An input stream, allowing for interactive reading of contents from an open diff --git a/distribution/lib/Standard/Table/0.0.0-dev/src/Io/File_Format.enso b/distribution/lib/Standard/Table/0.0.0-dev/src/Io/File_Format.enso index 65fa79fd013ae..a08e41561b2de 100644 --- a/distribution/lib/Standard/Table/0.0.0-dev/src/Io/File_Format.enso +++ b/distribution/lib/Standard/Table/0.0.0-dev/src/Io/File_Format.enso @@ -118,7 +118,7 @@ type Delimited ## Implements the `Table.write` for this `File_Format`. write_table : File -> Table -> Existing_File_Behavior -> Column_Mapping -> Problem_Behavior -> Nothing write_table file table on_existing_file _ on_problems = - Delimited_Writer.write_file table this file on_existing_file on_problems + Delimited_Writer.write_file table self file on_existing_file on_problems ## PRIVATE Clone the instance with some properties overridden. diff --git a/test/Table_Tests/src/Data_Formatter_Spec.enso b/test/Table_Tests/src/Data_Formatter_Spec.enso index e740b0c90ecca..77fdce01cc3b0 100644 --- a/test/Table_Tests/src/Data_Formatter_Spec.enso +++ b/test/Table_Tests/src/Data_Formatter_Spec.enso @@ -23,7 +23,7 @@ type Custom_Type_With_To_Text type Custom_Type_With_To_Text field to_text : Text - to_text = "[CUSTOM = " + this.field.to_text + "]" + to_text = "[CUSTOM = " + self.field.to_text + "]" type Custom_Type_With_Error type Custom_Type_With_Error