File tree Expand file tree Collapse file tree
src/FastExpressionCompiler Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -122,9 +122,9 @@ public struct ExpressionNode // 32 bytes: Type(8)+Obj(8)+_typeFlags(2)+NextIdx(
122122 /// <summary>True when this Constant node's value is stored inline in <see cref="Data"/>.</summary>
123123 public bool IsInplaceConst => ( _typeFlags & 0x8000 ) != 0 ;
124124 /// <summary>First child, or 1-based closure slot for non-inline Constant nodes.</summary>
125- public Idx ChildIdx => Idx . Of ( ( short ) ( _data & 0xFFFF ) ) ;
125+ public Idx ChildIdx => Idx . Of ( ( int ) ( ushort ) ( _data & 0xFFFF ) ) ;
126126 /// <summary>Second child (nil for unary nodes and for New/Call/Invoke args — only used for control nodes).</summary>
127- public Idx ExtraIdx => Idx . Of ( ( short ) ( ( _data >> 32 ) & 0xFFFF ) ) ;
127+ public Idx ExtraIdx => Idx . Of ( ( int ) ( ushort ) ( ( _data >> 32 ) & 0xFFFF ) ) ;
128128 /// <summary>Raw 8-byte constant bits when <see cref="IsInplaceConst"/> is true.</summary>
129129 public long Data => _data ;
130130}
You can’t perform that action at this time.
0 commit comments