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

Multiline list literals cause a parsing error #28

Closed
piotrMocz opened this issue Aug 22, 2017 · 1 comment
Closed

Multiline list literals cause a parsing error #28

piotrMocz opened this issue Aug 22, 2017 · 1 comment
Assignees
Labels
d-intermediate Difficulty: some prior knowledge required p-high Should be completed in the next sprint

Comments

@piotrMocz
Copy link

@piotrMocz commented on Sun Aug 20 2017

Say we have a datatype:

class Foo:
    a :: List Text

The following gives a parsing error:

def f:
    x = Foo [
        "ala",
        "ma",
        "kota"
    ]
    x

And the error says Unexpected token: x.

@piotrMocz piotrMocz added the bug label Aug 22, 2017
@piotrMocz piotrMocz added this to the 0.9 Release milestone Aug 22, 2017
@kustosz kustosz removed this from the 0.9 Release milestone Jan 19, 2018
@iamrecursion iamrecursion added d-intermediate Difficulty: some prior knowledge required C - Compiler p-high Should be completed in the next sprint labels Feb 5, 2018
@wdanilo
Copy link
Member

wdanilo commented Oct 4, 2018

Already fixed in new parser

@wdanilo wdanilo closed this as completed Oct 4, 2018
turion pushed a commit to turion/luna that referenced this issue Jun 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
d-intermediate Difficulty: some prior knowledge required p-high Should be completed in the next sprint
Projects
None yet
Development

No branches or pull requests

4 participants