mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Fixed method override in generic extensions
This commit is contained in:
parent
390275b7f3
commit
f2b177693d
2 changed files with 13 additions and 1 deletions
|
@ -267,6 +267,18 @@ namespace Tests
|
|||
}
|
||||
}
|
||||
|
||||
struct TestExtern<T>
|
||||
{
|
||||
public extern void MethodA();
|
||||
}
|
||||
|
||||
extension TestExtern<T> where T : Char8
|
||||
{
|
||||
public override void MethodA()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
[Test]
|
||||
public static void TestBasics()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue