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

Bug: Crash on {} => true #28

Open
jeswr opened this issue Mar 3, 2023 · 1 comment
Open

Bug: Crash on {} => true #28

jeswr opened this issue Mar 3, 2023 · 1 comment

Comments

@jeswr
Copy link
Owner

jeswr commented Mar 3, 2023

The following causes a crash

import { Parser } from 'n3';
import { write } from '@jeswr/pretty-turtle';

const parser = new Parser({ format: 'text/n3' });
write(parser.parse('{} => true .'), { format: 'text/n3' }).then(console.log)
@jeswr
Copy link
Owner Author

jeswr commented Mar 3, 2023

Related to rdfjs/N3.js#328 (comment)

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

No branches or pull requests

1 participant