Beef
Beef copied to clipboard
[BUG] Unresolved external symbol when using append allocations
Code:
using System;
namespace Test;
class Foo {
[AllowAppend]
public this() {
int* _ = append .[1]*;
}
}
static class Program {
public static void Main(String[] args) {
scope Foo();
}
}
Few conditions I found that need to be met for the error to appear:
- needs to be an append allocation
- needs to be using type inference
- needs to be allocating a pointer