Skip to content

Conversation

@turbolent
Copy link
Member

Description

Make the error message a <pre> element, so that whitespace is preserved.

Fixes e.g.

Screen_Shot_2021-04-13_at_5 34 27_AM


For contributor use:

  • Targeted PR against correct branch (see CONTRIBUTING.md)
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Code follows the standards mentioned here.
  • Updated relevant documentation
  • Re-reviewed Files changed in the Github PR explorer
  • Added appropriate labels

@vercel
Copy link

vercel bot commented Apr 13, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/onflow/flow-playground/5R21fy9BhfY8xYtLGYQtsEDCgDBQ
✅ Preview: https://flow-playground-git-bastian-error-styling-onflow.vercel.app

@10thfloor 10thfloor merged commit 5a10857 into master Apr 15, 2021
10thfloor pushed a commit that referenced this pull request May 20, 2021
…#148)

* make error message a pre, so signification whitespace is not removed (#140)

* Test arguments on input via language server

* Bring back validation

* Add validation for arrays and imported types

Co-authored-by: Bastian Müller <bastian@axiomzen.co>
@bthaile bthaile deleted the bastian/error-styling branch May 16, 2023 22:00
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.

3 participants