You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, a malformed PostDoc like the following will set the resulting value to null.
public class Test {
public int value;
// Invalid because we expect this to return a Test instance
public void PostDoc(Test existing) {
if (existing.value > 42) {
throw new Exception("Value too high!");
}
}
}
...
DocNode Doc = ...;
Test readValue = Doc.As<Test>(); // This is always set to null
DarkConfig should throw an exception when scanning for PostDoc functions and finding one with a signature that doesn't match what it's expecting.
The text was updated successfully, but these errors were encountered:
Currently, a malformed PostDoc like the following will set the resulting value to null.
DarkConfig should throw an exception when scanning for PostDoc functions and finding one with a signature that doesn't match what it's expecting.
The text was updated successfully, but these errors were encountered: