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

Truncate the displayed source code when it exceeds 6 lines #589

Merged
merged 7 commits into from
Sep 20, 2018

Conversation

Gabriella439
Copy link
Collaborator

Related to #573

Example output:

dhall <<< './test.dhall'

Use "dhall --explain" for detailed errors

↳ ./test.dhall

Error: You can only append ❰List❱s with matching element types

- Natural
+ Bool

            [ 1
            , 1
            , 1
✂┈┈┈┈┈┈┈✂┈┈┈┈┈┈┈✂┈┈┈┈┈┈┈✂┈┈┈┈┈┈┈✂┈┈┈┈┈┈┈✂┈┈┈┈┈┈┈✂┈┈┈┈┈┈┈✂┈┈┈┈┈┈┈✂┈┈┈┈┈┈┈✂┈┈┈┈┈┈┈
            , 1
            ] # [ True ]

/Users/gabriel/proj/dhall/test.dhall:1:13

Related to #573

Example output:

```
dhall <<< './test.dhall'

Use "dhall --explain" for detailed errors

↳ ./test.dhall

Error: You can only append ❰List❱s with matching element types

- Natural
+ Bool

            [ 1
            , 1
            , 1
✂┈┈┈┈┈┈┈✂┈┈┈┈┈┈┈✂┈┈┈┈┈┈┈✂┈┈┈┈┈┈┈✂┈┈┈┈┈┈┈✂┈┈┈┈┈┈┈✂┈┈┈┈┈┈┈✂┈┈┈┈┈┈┈✂┈┈┈┈┈┈┈✂┈┈┈┈┈┈┈
            , 1
            ] # [ True ]

/Users/gabriel/proj/dhall/test.dhall:1:13
```
@Gabriella439 Gabriella439 merged commit 523b242 into master Sep 20, 2018
@Gabriella439 Gabriella439 deleted the gabriel/snip branch September 20, 2018 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant