Skip to content

Commit bf21e43

Browse files
authored
Hotfix/dump (#228)
* #227 - fix TypeValue ToString * fix docs
1 parent dda3f3c commit bf21e43

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

Readme.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,18 @@
66

77
Interpreter executable is built during release for 3 following platforms:
88
- Windows (x64)
9-
- MacOS (arm64 Apple Silicon)
9+
- macOS (arm64 Apple Silicon)
1010
- Linux (x64)
1111

1212
Download hydrascript executable on the corresponding release page.
1313

14-
[The latest relase is available here.](https://github.com/Stepami/hydrascript/releases/latest)
14+
[The latest release is available here.](https://github.com/Stepami/hydrascript/releases/latest)
1515

1616
Alternatively you can consume HydraScript as dotnet tool:
1717
```
1818
dotnet tool update --global hydrascript
1919
```
20+
NuGet link: https://www.nuget.org/packages/hydrascript
2021

2122
## Project History
2223

@@ -361,4 +362,4 @@ HydraScript file.js --dump
361362
4. [Stanford CS143 Lectures](https://web.stanford.edu/class/archive/cs/cs143/cs143.1128/)
362363
5. [Simple Virtual Machine](https://github.com/parrt/simple-virtual-machine)
363364
6. Ахо А., Ульман Дж. Теория синтаксического анализа, перевода и компиляции
364-
7. Свердлов С.З. Языки программирования и методы трансляции
365+
7. Свердлов С. З. Языки программирования и методы трансляции

src/Domain/HydraScript.Domain.FrontEnd/Parser/Impl/Ast/Nodes/Declarations/TypeValue.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using Cysharp.Text;
21
using HydraScript.Domain.FrontEnd.Parser.Impl.Ast.Nodes.Expressions.PrimaryExpressions;
32

43
namespace HydraScript.Domain.FrontEnd.Parser.Impl.Ast.Nodes.Declarations;
@@ -44,6 +43,5 @@ public override string ToString() =>
4443
[AutoVisitable<TypeValue>]
4544
public partial record ObjectTypeValue(List<PropertyTypeValue> Properties) : TypeValue
4645
{
47-
public override string ToString() =>
48-
ZString.Concat('{', ZString.Join(';', Properties), '}');
46+
public override string ToString() => $"{{{string.Join(';', Properties)}}}";
4947
}

0 commit comments

Comments
 (0)