mirror of
https://github.com/apple/pkl.git
synced 2026-09-10 20:01:46 +02:00
Add this as a self type (#1708)
This commit is contained in:
+1
-1
@@ -210,7 +210,7 @@ external class Reference<out D, out T> {
|
||||
abstract class Domain {
|
||||
/// Determines how [Reference] instances are transformed to strings by [Reference.toString()] and
|
||||
/// string interpolation.
|
||||
abstract function renderReference(reference: Reference<Domain, Any>): String
|
||||
abstract function renderReference(reference: Reference<this, Any>): String
|
||||
}
|
||||
|
||||
/// A property or subscript access as part of a [Reference]'s path.
|
||||
|
||||
Reference in New Issue
Block a user