summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2020-06-24 18:09:40 -0700
committerYong He <yonghe@outlook.com>2020-06-24 20:25:49 -0700
commitffa9a3575ff888dc494ba4878f52441c64a9e08c (patch)
tree5445e7666f076ac6f61a6be8b045a09d7302085c /tests
parent161c525c56dfd4feb3db528f09169412d0b7ed55 (diff)
Fix `lowerFuncType` and small bug fixes.
Diffstat (limited to 'tests')
-rw-r--r--tests/compute/dynamic-dispatch-2.slang2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/compute/dynamic-dispatch-2.slang b/tests/compute/dynamic-dispatch-2.slang
index ade8aeb84..6b8b0e633 100644
--- a/tests/compute/dynamic-dispatch-2.slang
+++ b/tests/compute/dynamic-dispatch-2.slang
@@ -12,7 +12,6 @@ interface IInterface
{
associatedtype Assoc : IAssoc;
int Compute(int inVal);
- Assoc getAssoc();
};
int GenericCompute<T:IInterface>(T obj, int inVal)
@@ -30,7 +29,6 @@ struct Impl : IInterface
};
int base;
int Compute(int inVal) { return base + inVal * inVal; }
- Assoc getAssoc() { Assoc rs; rs.val = 1; return rs; }
};
int test(int inVal)