Skip to content

Commit

Permalink
Fixes after this|->self remapping
Browse files Browse the repository at this point in the history
  • Loading branch information
radeusgd committed Jun 21, 2022
1 parent cf04413 commit e59c554
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion test/Table_Tests/src/Data_Formatter_Spec.enso
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e59c554

Please sign in to comment.