Skip to content

Commit

Permalink
chore(deps): Update Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
furesoft committed Jan 23, 2025
1 parent 08051ce commit b431693
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion NewSource/Socordia.Build.Tasks/Socordia.Sdk.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="DistIL.Core" Version="0.12.0" />
<PackageReference Include="DistIL.Core" Version="0.13.0-preview" />
<PackageReference Include="Microsoft.Build.Framework" Version="17.12.6"/>
<PackageReference Include="Microsoft.Build.Tasks.Core" Version="17.12.6"/>
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="17.12.6"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="DistIL.Core" Version="0.12.0" />
<PackageReference Include="DistIL.Core" Version="0.13.0-preview" />
<PackageReference Include="Loyc.Syntax" Version="30.1.3"/>
<PackageReference Include="MrKWatkins.Ast" Version="0.9.128" />
<PackageReference Include="System.Resources.ResourceManager" Version="4.3.0"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ protected override void ListenToNode(BodyCompilation context, IfStatement node)
var cond = Utils.CreateValue(node.Condition, context);

cond = NegateCondition(cond);
context.Builder.Fork(cond, (builder, block) =>
context.Builder.ForkIf(cond, (builder, block) =>
{
BodyCompilation.Listener.Listen(context with
{
Expand Down
2 changes: 1 addition & 1 deletion NewSource/SocordiaC/SocordiaC.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<ItemGroup>
<PackageReference Include="CommandLineParser" Version="2.9.1"/>
<PackageReference Include="DistIL.Core" Version="0.12.0"/>
<PackageReference Include="DistIL.Core" Version="0.13.0-preview" />
<PackageReference Include="Flo" Version="0.3.0"/>
<PackageReference Include="LeMP" Version="30.1.3"/>
<PackageReference Include="Loyc.Syntax" Version="30.1.3"/>
Expand Down
2 changes: 1 addition & 1 deletion NewSource/SocordiaC/Stages/CompileFunctionsStage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ private void EmitParameterNullChecks(IRBuilder builder, FunctionDefinition node,
var cmp = builder.CreateCmp(CompareOp.Ne, builder.Method.Args[i], ConstNull.Create());
var ctor = driver.KnownTypes.ArgumentNullExceptionType!.FindMethod(".ctor", new MethodSig(PrimType.Void, [new TypeSig(PrimType.String)]));

builder.Fork(cmp, (irBuilder, _) =>
builder.ForkIf(cmp, (irBuilder, _) =>
{
var exception = irBuilder.CreateNewObj(ctor, ConstString.Create($"{parameter.Name} cannot be null"));
irBuilder.Emit(new ThrowInst(exception));
Expand Down

0 comments on commit b431693

Please sign in to comment.