Shplait is a great test project for testing LSP functionality in Rhombus ( https://github.com/mflatt/shplait )
Lets take a simple-ish file private/boxval.rhm in the shplait source code
#lang rhombus/static/and_meta
import:
meta:
"type.rhm" as t
"type_statinfo.rhm" as t_s
"value.rhm".value
"wrap.rhm" open
"lazy.rhm" open
// etc OMITTED
// etc OMITTED
expr.macro 'make_box':
~op_stx self
let tv = t.gen_tvar(self)
t_s.wrap_type('box_wrap'.relocate(self),
t.Poly(self, tv, t.Arrow(self, [tv], t.BoxOf(self, tv))))
In the expr.macro 'make_box'
- Goto definition on
t_s does not work
- Goto definition on
t (at t.gen_tvar) does not work
- Goto definition on
wrap_type does not work
- Goto definition on
gen_tvar does not work
EDIT: The information for these symbols is missing in DrRacket also (see #226 (comment) ) . The fix will need to be made upstream either in DrRacket or Rhombus itself ...
Shplait is a great test project for testing LSP functionality in Rhombus ( https://github.com/mflatt/shplait )
Lets take a simple-ish file
private/boxval.rhmin the shplait source codeIn the expr.macro 'make_box'
t_sdoes not workt(att.gen_tvar) does not workwrap_typedoes not workgen_tvardoes not workEDIT: The information for these symbols is missing in DrRacket also (see #226 (comment) ) . The fix will need to be made upstream either in DrRacket or Rhombus itself ...