From 9efd9597c50d4dbbf57a9285085aab044ed6c8c0 Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 28 Dec 2017 17:38:05 -0500 Subject: Fix substitution for associatedtype. fixes #341 When a typedef definition is used to satisfy an associated type, we must also substitute the resulting typedef type using parent substitution, in the case that the typedef is a generic application. --- tests/compute/assoctype-func-param.slang.expected.txt | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tests/compute/assoctype-func-param.slang.expected.txt (limited to 'tests/compute/assoctype-func-param.slang.expected.txt') diff --git a/tests/compute/assoctype-func-param.slang.expected.txt b/tests/compute/assoctype-func-param.slang.expected.txt new file mode 100644 index 000000000..98798bd61 --- /dev/null +++ b/tests/compute/assoctype-func-param.slang.expected.txt @@ -0,0 +1,4 @@ +0 +3F800000 +40000000 +40400000 \ No newline at end of file -- cgit v1.2.3