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
scenario: {$0:1} is failing on IonHashWriterTest.cs and returning System.InvalidOperationException: In a struct but field name is not set exception.
The test creates a reader that reads the struct and is passed into writer.writeValues(). As the reader moves next to $0 symbol, the CurrentFieldName is called but is not written to the writer because it is null. When the writer tries to write 1, the field name is not set and the exception is thrown.
The fix is to call SetFieldNameSymbol() instead of SetFieldName() so the zero symbol is set to the writer.
Scenarios:
The text was updated successfully, but these errors were encountered: