InjectFix icon indicating copy to clipboard operation
InjectFix copied to clipboard

修复内嵌函数的时候,当内嵌函数拥有上层函数的upvalue的时候,会报错

Open jinjiajie opened this issue 4 years ago • 0 comments

如:public void test()
{
	int value = 1;
	ttt();
	void ttt()
	{
		Debug.Log("value  ");
	}

}

这个函数patch他没什么问题

public void test() { int value = 1; ttt(); void ttt() { Debug.Log("value " + value); }

}

这个就凉了

jinjiajie avatar Apr 19 '21 13:04 jinjiajie