-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
class Arrays { | ||
public void create() { | ||
int[] arr = {10, 20, 30, 40}; | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
src/test/resources/unification/variable_declaration/ObjectAssignment.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
point = Point(1, 2) |
7 changes: 7 additions & 0 deletions
7
src/test/resources/unification/variable_declaration/ObjectDeclarator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
public class Code { | ||
public static void main(String[] args) { | ||
Object obj = new Object(); | ||
MyObject objarg = new MyObject(1, "Data"); | ||
Object empty = null; | ||
} | ||
} |
5 changes: 5 additions & 0 deletions
5
src/test/resources/unification/variable_declaration/ObjectDeclarator.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
function main() { | ||
const person = {firstName:"John", lastName:"Doe", age:50, eyeColor:"blue"}; | ||
const point = new Point(1, 2); | ||
const empty = null; | ||
} |
b3ba2ed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wasn't able to retrieve PDD puzzles from the code base and submit them to github. If you think that it's a bug on our side, please submit it to yegor256/0pdd:
Please, copy and paste this stack trace to GitHub: