Ólafur Páll Geirsson
Ólafur Páll Geirsson
```diff - obtained + expected $ cat input.scala object Main { @deprecated( message = "a", since = "b" ) def b = 1 } $ metac input.scala && metap META-INF/semanticdb/input.scala.semanticdb...
Reported by @jonas-db on Gitter https://gitter.im/scalameta/scalameta?at=5b7e7d65d8d36815e57a568d The symbol ``` java/lang/Object#`==`(). ``` doesn't have a `SymbolInformation` even if it can be referenced from code like `"a" == "b"` ```scala val jdk...
Currently, several Java types in SemanticDB have weird encodings - primitive types: `scala/Int#`, `scala/Double#`, ... - array types: `scala/Array#` - wildcards: type ref with symbol `local_wildcard` See spec https://github.com/scalameta/scalameta/blob/master/semanticdb/semanticdb3/semanticdb3.md#java-type A...
In #1641, we started sorting the order of declarations in Java class signatures to make it easier to eye-ball critical differences between metac/metacp. Without sorting, the diffs become noisy for...
ScalaPB has a field setting `no_box=true` that replaces the default `Option[T]` wrapper for the field with the field's "default value" (empty list for `repeated`, 0 for `int32`, "" for `string`)....
After Synthetics got a big upgrade in #1709 it should be possible to reconstruct a desugared `scala.meta.Tree` when given a `TextDocument`. Example, ```scala val source: scala.meta.Tree = textDocument.parse[Source].get // res0:...
Values classes ```scala class C1(val x: Int) extends AnyVal ``` result in the following trees after typer ```scala final class C1 extends scala.AnyVal { ... override def equals(x$1: Any): Boolean...
```scala (2 :: x) ``` has the sugar `*[Int]` with position starting and ending at the end offset for `x` Example ``` [104..106): :: => _root_.scala.collection.immutable.List#`::`(Ljava/lang/Object;)Lscala/collection/immutable/List;. [107..108): x => _root_.fix.ExpandSugars.x....
Observe that there are no `tpe { .. }` values below ``` metap -proto $(metacp $(coursier fetch org.scala-lang:scala-library:2.12.4)) | grep 'duration.package.DAYS' -A 10 declarations: "scala.concurrent.duration.package.DAYS(?)." declarations: "scala.concurrent.duration.package.DAYS." declarations: "scala.concurrent.duration.package.HOURS(?)." declarations:...
The PR #1687 implements a compiler plugin for Java that populates only the "Symbols" section. It would be good to implement the "Occurrences" section as well so that tools like...