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
I noticed that null-conditionals are supported, although I wasn't able to find anything in the docs. But, when combined with indexers they fails. For instance, given the following example.
Could you post a small program that replicates this exactly so that I can copy paste it quickly and check what's going wrong? From the error above, it looks like it is b that doesn't have a value, not a, but I can't tell without looking at the whole code.
I noticed that null-conditionals are supported, although I wasn't able to find anything in the docs. But, when combined with indexers they fails. For instance, given the following example.
I receive the following error.
Scriban.Syntax.ScriptRuntimeException: '(1,20) : error : Object
a?.b
is null. Cannot access indexer: a?.b[0]'Could it be I'm doing something wrong?
The text was updated successfully, but these errors were encountered: