File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
scip-semanticdb/src/main/java/com/sourcegraph/scip_semanticdb
tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -471,7 +471,7 @@ private String formatTree(Tree tree) {
471
471
} else if (tree .hasUnaryopTree ()) {
472
472
return formatUnaryOperation (tree .getUnaryopTree ());
473
473
} else if (tree .hasCastTree ()) {
474
- return "FIX ME" ;
474
+ return "(" + formatType ( tree . getCastTree (). getTpe ()) + ")" + " " + formatTree ( tree . getCastTree (). getValue ()) ;
475
475
}
476
476
477
477
throw new IllegalArgumentException ("tree was of unexpected type " + tree );
Original file line number Diff line number Diff line change @@ -86,6 +86,6 @@ interface Foo {
86
86
→double testCast ();
87
87
// ^^^^^^^^ definition semanticdb maven . . minimized/Foo#testCast().
88
88
// display_name testCast
89
- // signature_documentation java @Bar(FIX ME )\npublic abstract double testCast()
89
+ // signature_documentation java @Bar((double) -1 )\npublic abstract double testCast()
90
90
// kind AbstractMethod
91
91
}
You can’t perform that action at this time.
0 commit comments