Skip to content

Commit

Permalink
Merge pull request #42254 from LakshanWeerasinghe/add-removed-test
Browse files Browse the repository at this point in the history
Remove mistakenly added changes
  • Loading branch information
lochana-chathura authored Mar 1, 2024
2 parents 187079a + 9007aa5 commit 1818b84
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions compiler/ballerina-parser/src/test/resources/test_parser.bal
Original file line number Diff line number Diff line change
@@ -1,14 +1,2 @@
function foo() {
var orders = [
{orderId: 1, itemName: "A", price: 23.4, quantity: 2},
{orderId: 1, itemName: "A", price: 20.4, quantity: 1},
{orderId: 2, itemName: "B", price: 21.5, quantity: 3},
{orderId: 1, itemName: "B", price: 21.5, quantity: 3}
];
from var i in [1, 2, 3, 4]
do {
var quantities = from var {itemName, quantity} in orders
group by itemName
select {itemName, quantity: sum(quantity)};
};
public function main() {
}

0 comments on commit 1818b84

Please sign in to comment.