File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
OneScript.StandardLibrary Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -187,8 +187,8 @@ private static ValueTable FillAnnotationParameters(IEnumerable<BslAnnotationPara
187187 {
188188 var expandedValue = EmptyAnnotationsTable ( ) ;
189189 var row = expandedValue . Add ( ) ;
190- row . Set ( expandedValue . Columns . Find ( "Имя" ) , ValueFactory . Create ( annotationValue . Name ) ) ;
191- row . Set ( expandedValue . Columns . Find ( "Параметры" ) , FillAnnotationParameters ( annotationValue . Parameters ) ) ;
190+ row . Set ( expandedValue . Columns . FindColumnByName ( "Имя" ) , ValueFactory . Create ( annotationValue . Name ) ) ;
191+ row . Set ( expandedValue . Columns . FindColumnByName ( "Параметры" ) , FillAnnotationParameters ( annotationValue . Parameters ) ) ;
192192 parameterRow . Set ( parameterValueColumn , row ) ;
193193 }
194194 else
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ public override string ToString()
2525 {
2626 return string . Format ( "[{0}]" , ValueIndex ) ;
2727 }
28- if ( ValueIndex == UNDEFINED_VALUE_INDEX )
28+ if ( ValueIndex == UNDEFINED_VALUE_INDEX && RuntimeValue == null )
2929 {
3030 return Name ;
3131 }
You can’t perform that action at this time.
0 commit comments