Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/opam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
key: opam-${{ matrix.os }}-${{ matrix.ocaml-compiler }}-${{ hashFiles('**.opam') }}

- name: Use OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
dune-cache: true
Expand Down
96 changes: 12 additions & 84 deletions ppx/test/hover.t
Original file line number Diff line number Diff line change
Expand Up @@ -49,59 +49,23 @@ Let's test hovering over parts of the component
},
"end": {
"line": 3,
"col": 33
},
"type": "React.element",
"tail": "no"
},
{
"start": {
"line": 2,
"col": 2
},
"end": {
"line": 4,
"col": 15
"col": 29
},
"type": "React.element array",
"type": "string -> React.element",
"tail": "no"
},
{
"start": {
"line": 2,
"col": 2
"line": 3,
"col": 17
},
"end": {
"line": 4,
"col": 15
"line": 3,
"col": 33
},
"type": "React.element",
"tail": "no"
},
{
"start": {
"line": 2,
"col": 2
},
"end": {
"line": 4,
"col": 15
},
"type": "React.element option",
"tail": "no"
},
{
"start": {
"line": 2,
"col": 2
},
"end": {
"line": 4,
"col": 15
},
"type": "ReactDOM.domProps",
"tail": "no"
},
{
"start": {
"line": 2,
Expand Down Expand Up @@ -160,63 +124,27 @@ The `foo` variable inside the component body
{
"start": {
"line": 3,
"col": 17
"col": 30
},
"end": {
"line": 3,
"col": 33
},
"type": "React.element",
"tail": "no"
},
{
"start": {
"line": 2,
"col": 2
},
"end": {
"line": 4,
"col": 15
},
"type": "React.element array",
"type": "string",
"tail": "no"
},
{
"start": {
"line": 2,
"col": 2
"line": 3,
"col": 17
},
"end": {
"line": 4,
"col": 15
"line": 3,
"col": 33
},
"type": "React.element",
"tail": "no"
},
{
"start": {
"line": 2,
"col": 2
},
"end": {
"line": 4,
"col": 15
},
"type": "React.element option",
"tail": "no"
},
{
"start": {
"line": 2,
"col": 2
},
"end": {
"line": 4,
"col": 15
},
"type": "ReactDOM.domProps",
"tail": "no"
},
{
"start": {
"line": 2,
Expand Down
Loading
Loading