pjc0247 / SlowSharp

C# interpreter written in C#
MIT License
130 stars 15 forks source link

accessing static variable from compiled type fix #7

Closed friuns2 closed 2 years ago

friuns2 commented 2 years ago

compiled type: class bs{ public static int a; }

hyb type will throw exception without this fix


class test : bs{
main()
{
Debug.Log(a);
}
}
pjc0247 commented 2 years ago

Thanks!