Skip to content

String f interpolator macro #6540

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

Merged
merged 38 commits into from
Jun 19, 2019
Merged
Show file tree
Hide file tree
Changes from 17 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
5adbe41
Add f-interpolator
May 14, 2019
3ee576e
Add positive tests
May 14, 2019
55a871d
Add negative tests but it fails due to imports
May 16, 2019
098269d
Fix small error found with report.
May 16, 2019
72333e3
Use same macro in negative tests
May 21, 2019
83b7412
Revert last commit as does not work
May 21, 2019
6771222
fix compilation error, out of bounds to fix
May 21, 2019
1b67f43
Fix out of bounds but needs type check
May 21, 2019
efe3b46
Add type widen
May 22, 2019
26a5d2b
Avoid ambiguities between scala.StringContext and internal.StringContext
nicolasstucki May 14, 2019
0ed1c76
Rename src-2.x StringContext to StringContextMacro
nicolasstucki May 23, 2019
d93063f
Rename internal.StringContext to internal.StringContextMacro
nicolasstucki May 23, 2019
d94c856
Merge branch 'master' of https://github.com/lampepfl/dotty into part1
May 23, 2019
fc14fb4
Update StringContextMacro.scala
May 23, 2019
9209761
Delete .check tests for negative testing
May 23, 2019
9578c51
Ignore type checking
May 27, 2019
bd3d88a
Add dealias to have types without packages
May 27, 2019
0d3d83b
Update StringContextMacro.scala
May 29, 2019
bd404ee
Add ' ' for the type expected and actual
May 31, 2019
3de568d
Update StringContextMacro.scala
May 31, 2019
835a701
Update StringContextMacro.scala
May 31, 2019
3a1e403
Fix errors on tests and test/fix code
Jun 3, 2019
c27c7a2
Update StringContextMacro.scala
Jun 3, 2019
956572f
Update StringContextMacro.scala
Jun 3, 2019
d214141
Update StringContextMacro.scala
Jun 4, 2019
5969614
Update StringContextMacro.scala
Jun 4, 2019
e6caa6f
Update Macros_1.scala
Jun 4, 2019
26b5080
Revert "Update Macros_1.scala"
Jun 4, 2019
f4ceaf3
Update StringContextMacro.scala
Jun 4, 2019
a9c8fe3
Fixed indexed argument errors
Jun 4, 2019
7b67153
Merge remote-tracking branch 'upstream/master' into part1
Jun 11, 2019
729c018
Try to set the local for time testing
Jun 11, 2019
b426f35
Remove time local and comment time tests
Jun 11, 2019
0f1c9e1
Remove server dependent tests
Jun 11, 2019
db2b39d
Add flags check for specials
Jun 16, 2019
1e6ce2a
Modify expression extraction
Jun 18, 2019
752ae03
Update Macros_1.scala
Jun 18, 2019
3e38ef3
Update StringContextMacro.scala
Jun 18, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package dotty.internal

object StringContext {
object StringContextMacro {

@forceInline def f(sc: => scala.StringContext)(args: Any*): String =
throw new Exception("non-boostrapped library")
Expand Down
Loading