1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Fixed some issues with types with extensions and emitted methods

This commit is contained in:
Brian Fiete 2022-06-27 12:19:24 -07:00
parent d6af5b826f
commit f7efa3466a
4 changed files with 28 additions and 9 deletions

View file

@ -79,7 +79,7 @@ namespace Tests
class ClassF
{
public int mA = 123;
public append String mB = .(mA);
public append String mB = .(1024);
public int mC = 234;
}

View file

@ -2,6 +2,18 @@
using System;
namespace System
{
extension RefCounted<T>
{
public static RefCounted<T> Attach(RefCounted<T> val)
{
val.AddRef();
return val;
}
}
}
namespace System
{
public extension Event<T>