Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tuple construction not working in activity generator #159

Open
abstratt opened this issue Oct 8, 2018 · 0 comments
Open

tuple construction not working in activity generator #159

abstratt opened this issue Oct 8, 2018 · 0 comments
Labels

Comments

@abstratt
Copy link
Owner

abstratt commented Oct 8, 2018

Expected:

        return Expense extent.select((e : Expense) : Boolean {
            e.status == Status#Submitted
        }).groupBy((e : Expense) : Category { e.category }).groupCollect((group : Expense[*]) : {category : Category, count : Integer} {
            {
                category := group.one().category, 
                count := group.size()
            }
        });

Actual:

                return Expense extent.select((e) {
                	e.status == null
                }).groupBy((e) {
                	e.category
                }).groupCollect((group) {
                	begin
                	end
                });
@abstratt abstratt added the bug label Oct 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant