Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions IronPython.slnx
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@
<File Path="Build.proj" />
<File Path="CurrentVersion.props" />
<File Path="Directory.Build.props" />
<File Path="IronPython.ruleset" />
<File Path="LICENSE" />
<File Path="make.ps1" />
<File Path="NuGet.config" />
<File Path="README.md" />
</Folder>
<Folder Name="/Solution Items/Build/">
Expand Down
4 changes: 2 additions & 2 deletions src/core/IronPython/Compiler/Ast/BinaryExpression.cs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ private class IsInstruction : BinaryInstruction {
public static readonly IsInstruction Instance = new IsInstruction();

public override int Run(InterpretedFrame frame) {
// its okay to pop the args in this order due to commutativity of referential equality
// it's okay to pop the args in this order due to commutativity of referential equality
frame.Push(PythonOps.Is(frame.Pop(), frame.Pop()));
return +1;
}
Expand All @@ -200,7 +200,7 @@ private class IsNotInstruction : BinaryInstruction {
public static readonly IsNotInstruction Instance = new IsNotInstruction();

public override int Run(InterpretedFrame frame) {
// its okay to pop the args in this order due to commutativity of referential equality
// it's okay to pop the args in this order due to commutativity of referential equality
frame.Push(PythonOps.IsNot(frame.Pop(), frame.Pop()));
return +1;
}
Expand Down
2 changes: 1 addition & 1 deletion src/core/IronPython/Compiler/Ast/FlowChecker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* The only difference between the two is behavior on delete.
* On delete, the name is not assigned to meaningful value (we need to check at runtime if it's initialized),
* but it is not uninitialized either (because delete statement will set it to Uninitialized.instance).
* This way, codegen doesnt have to emit an explicit initialization for it.
* This way, codegen doesn't have to emit an explicit initialization for it.
*
* Consider:
*
Expand Down