Skip to content

Commit e2ed6a3

Browse files
committed
2 parents b9b293b + fd79634 commit e2ed6a3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CSharpToJavaScript.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<VersionPrefix>0.1.1</VersionPrefix>
4+
<VersionPrefix>0.1.2</VersionPrefix>
55

66
<TargetFramework>net10.0</TargetFramework>
77
<ImplicitUsings>disable</ImplicitUsings>

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This library is a "core" where all the "magic" happens for translating/convertin
66
## Status
77
test262-parser([master](https://github.com/tc39/test262-parser-tests)): Only JS part (code is not public, yet. ES3 implemented) Total tests: 5363 | Passed: 2786 (51 %) | Failed: 2577
88

9-
test262([es5 branch](https://github.com/tc39/test262/tree/es5-tests)): Total tests: 11725 | Passed: 6956 (59 %)** | Failed: 4769
9+
test262([es5 branch](https://github.com/tc39/test262/tree/es5-tests)): Total tests: 11725 | Passed: 7950 (67 %)** | Failed: 3775
1010

1111
**Note: Tests run with "UseVarOverLet" and "DisableCompilationErrors" options, using [Jint](https://github.com/sebastienros/jint) as an engine. The goal is to generate valid C# code and get rid of "DisableCompilationErrors" option.
1212

@@ -19,9 +19,9 @@ FileData file = new()
1919
{
2020
SourceStr = @"Console.WriteLine(""Hello world."");"
2121
};
22-
FileData[] files = CSTOJS.Translate([ file ]);
22+
file = CSTOJS.Translate(file);
2323

24-
Console.WriteLine(files[0].TranslatedStr);
24+
Console.WriteLine(file.TranslatedStr);
2525
```
2626
- Run a program
2727
- Console output should be:

0 commit comments

Comments
 (0)