-
Due to change in the shape of classOf tree after typechecking one can't match it:
```scala
scala> showRaw(q"classOf[Int]")
TypeApply(Ident(TermName("classOf")), List(Ident(TypeName("Int"))))
sca…
-
For parsed case classes this code is correct:
```scala
scala> val q"{ case class $_(..$_) extends ..$_ {..$_}; ..$_ }" = q"{ case class A() }"
```
But typechecked tree can't be matched:
```scala
…
-
`rlang` 0.2.0 is on CRAN, and `rlang::UQ` cannot be called directly anymore, which breaks `DiagrammeR`. All these calls must be substituted.
-
Another issue via @jbrown215 and @jeanneluningprak
The following
```haskell
{-# LANGUAGE EmptyDataDecls #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE GADTs …
-
Using quasiquotes it is possible to construct values of the form `Some(alias @ x)`, e.g., by trying to form a tree for a value based on a pattern.
When compiling a program which uses such a macro t…
-
I've noticed that on some of my projects HIE seems to not do anything after displaying diagnostics once.
I'm using Sublime Text with the LSP plugin (latest version 0.4.0) and latest master `Versio…
-
Trying to splice an empty list of trees into a quasiquote to instantiate a trait does not work as expected.
For example, this works as expected:
```scala
object Bar {
import language.experime…
-
It'd be great to have support for matching over repetitive patterns in trees:
```scala
val q"def foo(..{$names: $tpes = $defaults})" = q"def foo(x: X, y: Y = Y(0))"
// names == List(TermName("x")…
-
In a macro, I am instantiating a trait and generate method implementations for it.
```
val bodyList: List[Tree] = ???
q"trait Tret; new Tret { ...$bodyList }"
```
This works as expected as …
-
[The grammar for terms](https://docs.racket-lang.org/redex/The_Redex_Reference.html#%28part._.Terms%29) includes booleans and strings, but not numbers, hashes, prefab structs and so forth. The documen…