mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-15 14:54:09 +02:00
Fixed reification issues, mut-vs-imut method mangling
This commit is contained in:
parent
425284f023
commit
9a857cceb3
8 changed files with 31 additions and 18 deletions
|
@ -50,7 +50,7 @@ namespace Tests
|
|||
}
|
||||
|
||||
[Test]
|
||||
public static void Hey()
|
||||
public static void TestBasics()
|
||||
{
|
||||
ClassB cc = scope ClassC();
|
||||
ClassB cb = cc;
|
||||
|
@ -64,6 +64,7 @@ namespace Tests
|
|||
|
||||
StructA sa = default;
|
||||
let sa2 = sa;
|
||||
|
||||
Test.Assert(sa[0] == 2);
|
||||
Test.Assert(sa2[0] == 1);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue