mirror of
https://github.com/apple/pkl.git
synced 2026-05-28 01:29:15 +02:00
Fix name resolution in typealias with constraint (#144)
The body of a typealias gets inlined into wherever the typealias is used. This fixes a bug where the references in the typealias body can resolve to the wrong value.
This commit is contained in:
+3
@@ -0,0 +1,3 @@
|
||||
class MyClass
|
||||
|
||||
typealias MyTypeAlias = MyClass(getClass() == MyClass)
|
||||
Reference in New Issue
Block a user