Beef icon indicating copy to clipboard operation
Beef copied to clipboard

[BUG] Unresolved external symbol when using append allocations

Open MineGame159 opened this issue 2 years ago • 0 comments

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:

  1. needs to be an append allocation
  2. needs to be using type inference
  3. needs to be allocating a pointer

MineGame159 avatar May 06 '23 19:05 MineGame159