Skip to content

Commit f35e465

Browse files
committed
changelog
1 parent 6ed2083 commit f35e465

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
- Add support for syntax highlighting in `%raw` and `%ffi` extension points. https://github.com/rescript-lang/rescript-vscode/pull/774
1818
- Add completion to top level decorators. https://github.com/rescript-lang/rescript-vscode/pull/799
19+
- Add code action for wrapping patterns where option is expected with `Some`. https://github.com/rescript-lang/rescript-vscode/pull/806
1920

2021
#### :nail_care: Polish
2122

server/src/codeActions.ts

-2
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,6 @@ let wrapInSome: codeActionExtractor = ({
277277
"but a pattern was expected which matches values of type"
278278
);
279279

280-
console.log({ typ });
281-
282280
if (typ.trim() === "") {
283281
// Type is on the next line
284282
typ = (restOfMessage[lineIndexWithType + 1] ?? "").trim();

0 commit comments

Comments
 (0)