Skip to content

Conversation

@armanbilge
Copy link
Member

This turned out to be non-trivial due to deprecations and warnings.

case _ =>
report.error(s"StringContext arguments must be literals.")
return '{???}
Left('{ compiletime.error(s"StringContext arguments must be literals.") })
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-local returns are deprecated, so I refactored this macro to use Either for short-circuiting.

@codecov
Copy link

codecov bot commented Oct 31, 2022

Codecov Report

Merging #729 (148a047) into main (d80f090) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #729   +/-   ##
=======================================
  Coverage   85.00%   85.00%           
=======================================
  Files         124      124           
  Lines        1647     1647           
  Branches      130      130           
=======================================
  Hits         1400     1400           
  Misses        247      247           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@mpilquist mpilquist merged commit 148dcf0 into typelevel:main Nov 17, 2022
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