Skip to content

Tests: use current compiler #7186

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Dec 2, 2024
Merged
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
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
#### :bug: Bug fix
- Fix bug where a ref assignment is moved ouside a conditional. https://github.com/rescript-lang/rescript/pull/7176

#### :house: Internal
- Use latest compiler for tests. https://github.com/rescript-lang/rescript/pull/7186

# 12.0.0-alpha.5

#### :rocket: New Feature
Expand Down
35 changes: 24 additions & 11 deletions tests/analysis_tests/tests-generic-jsx-transform/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
},
"private": true,
"dependencies": {
"rescript": "11.1.0-rc.2"
"rescript": "file:../../.."
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ posCursor:[0:8] posNoWhite:[0:6] Found expr:[0:4->0:7]
JSX <div:[0:4->0:7] > _children:None
Completable: Cjsx([div], "", [])
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 Pervasives
Path GenericJsx.Elements.props
[{
"label": "testing",
Expand All @@ -30,7 +29,6 @@ posCursor:[3:17] posNoWhite:[3:16] Found expr:[3:4->3:18]
JSX <div:[3:4->3:7] testing[3:8->3:15]=...[3:16->3:18]> _children:None
Completable: Cexpression CJsxPropValue [div] testing->recordBody
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 Pervasives
ContextPath CJsxPropValue [div] testing
Path GenericJsx.Elements.props
[{
Expand Down Expand Up @@ -59,7 +57,6 @@ posCursor:[14:21] posNoWhite:[14:20] Found expr:[14:7->22:10]
posCursor:[14:21] posNoWhite:[14:20] Found expr:[14:7->14:21]
Completable: Cpath Value[someString]->st <<jsx>>
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 Pervasives
ContextPath Value[someString]->st <<jsx>>
ContextPath Value[someString]
Path someString
Expand Down Expand Up @@ -108,7 +105,7 @@ posCursor:[20:24] posNoWhite:[20:23] Found expr:[20:10->20:24]
Completable: Cpath Value[someString]->st <<jsx>>
Raw opens: 1 GenericJsx.place holder
Package opens Pervasives.JsxModules.place holder
Resolved opens 2 Pervasives GenericJsx
Resolved opens 1 GenericJsx
ContextPath Value[someString]->st <<jsx>>
ContextPath Value[someString]
Path someString
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
},
"private": true,
"dependencies": {
"rescript": "11.1.0-rc.2"
"rescript": "file:../../.."
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@ Json
Array:[0:8->0:21] [0:21->0:23]
Completable: Cexpression CTypeAtPos()->variantPayload::Array($0)
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 Pervasives
ContextPath CTypeAtPos()
[{
"label": "[]",
"kind": 12,
"tags": [],
"detail": "t",
"documentation": {"kind": "markdown", "value": " The JSON data structure \n\n```rescript\n@unboxed\ntype t =\n | Boolean(bool)\n | @as(null) Null\n | String(string)\n | Number(float)\n | Object(Js.Dict.t<t>)\n | Array(array<t>)\n```"},
"documentation": {"kind": "markdown", "value": " The JSON data structure \n\n```rescript\n@unboxed\ntype t =\n | Boolean(bool)\n | @as(null) Null\n | String(string)\n | Number(float)\n | Object(dict<t>)\n | Array(array<t>)\n```"},
"sortText": "A",
"insertText": "[$0]",
"insertTextFormat": 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Pexp_construct WithVariant
One:[4:8->4:23] [4:23->4:25]
Completable: Cexpression CTypeAtPos()->variantPayload::One($0)
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 Pervasives
ContextPath CTypeAtPos()
[{
"label": "{}",
Expand Down
Loading
Loading