forked from rescript-lang/rescript
-
Notifications
You must be signed in to change notification settings - Fork 0
[pull] master from rescript-lang:master #81
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
Open
pull
wants to merge
515
commits into
TheSpyder:master
Choose a base branch
from
rescript-lang:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…: emit nested function always. (#7273)
* During call * Simplify example * Add completion for integers inside braces. * Add changelog entry * Remove completion of integer in braces * Fix typo
* version in compiler analysis is always ReScript v12+ * always use new stdlib modules for autocomplete * migrate away from Js namespace in analysis tests * handle regexps * change test * update more tests * changelog * fix mistak
* OCaml 5.3 + some dependency upgrades * "effect" is a reserved word now * no 4.13 * ocamlformat 0.27.0 * Use OCaml 5.3.0 * Run reanalyze on OCaml 5.2.1
Bumps [serialize-javascript](https://github.com/yahoo/serialize-javascript) to 6.0.2 and updates ancestor dependency [mocha](https://github.com/mochajs/mocha). These dependencies need to be updated together. Updates `serialize-javascript` from 6.0.0 to 6.0.2 - [Release notes](https://github.com/yahoo/serialize-javascript/releases) - [Commits](yahoo/serialize-javascript@v6.0.0...v6.0.2) Updates `mocha` from 10.1.0 to 10.8.2 - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md) - [Commits](mochajs/mocha@v10.1.0...v10.8.2) --- updated-dependencies: - dependency-name: serialize-javascript dependency-type: indirect - dependency-name: mocha dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Stdlib namespace for Core modules * fix gentype output * commit another test * commit new test output (that has errors) * pipe completion for stdlib * pick up another regex completion * handle nopervasives, and open Stdlib by default * commit more tests * Reanalyze tests working again * Fix Gentype for real * Do not run analysis tests on Linux * Cache reanalyze, too * CHANGELOG --------- Co-authored-by: Gabriel Nordeborn <gabbe.nord@gmail.com>
* remove List.t<'a> from Core and use list<'a> instead * rename `toShuffled` to `shuffle` and deprecate it * deprecate List.*Assoc functions towards the use of Map * update changelog * fix typo in fromInitializer docstring * fix typo in docstring * fix completion tests
* add a type t as an alias of the built-in types
…7303) * Fix issue with untagged variants and object when null is one case. Fixes #7289 The check emitted for case `Object` was simply `type of ... === "object"`, though that is insufficient when the variant has one case corresponding to `null`. Now we check if such a variant case exists, and emit `... != null` in addition. * Add test example.
* Simplify JSON.Decode implementation * CHANGELOG
* Gentype: handle null/nullable/undefined from Stdlib * CHANGELOG
* WIP: better completion for applications * Comment out scope thing * Uncomment filter * Remove verbose * Optional dig * Add changelog entry
* Exploring problem space * Copy attributes from function * Remove moved attributes from expr * Update test * Add changelog entry
* add popover attributes to jsxdom props * use popover type Co-authored-by: Florian Verdonck <florian.verdonck@outlook.com> * add popoverTargetAction docs Co-authored-by: Florian Verdonck <florian.verdonck@outlook.com> * add popover docs Co-authored-by: Florian Verdonck <florian.verdonck@outlook.com> * Update test * Add changelog entry --------- Co-authored-by: Florian Verdonck <florian.verdonck@outlook.com>
* POC: test ast conversion * Use separate directory for ast mapping tests * Add new test cases
* Optimise Dict.forEachWithKey * Speedup Dict.mapValues by 15% * Add Dict.has * Update changelog
Fixes #7314 - Delay untagged variant well-formedness checks until after environment construction - Collect all untagged variant checks during type declaration processing - Perform checks once all recursive types are available in the environment - Add test case for valid recursive untagged variant type definitions This fixes issues where recursive references in untagged variants would fail validation due to premature checking before the full type environment was built.
* Add 'inert' attribute * Update Completion.res.txt to include inert attribute * Update CHANGELOG
* brush up a few object related error messages * changelog
* chore: force LF on windows * feat: upstream changes of rescript-lang/rewatch#162 * test: update cli arg ordering * fix: look for rescript.exe not rescript-legacy * test: add legacy test repo * test: add legacy build system compile tests * test: print stderr output on failure * refactor: extract fn to get binary dir * fix: windows binary path * fix: pass bsc-path arg only to specific subcommands * test: add package to testrepo deps * test: update snapshots * test: improve test output * fix: args passing in cli wrapper * fix: pass `--bsc-path` to implicit build command * fix: wrong path to `rescript` executable refactor `cli.rs` to remove duplication of docstrings * fix: legacy tests inconsistency * test: is error output printed correctly * debug: print whole output of rewatch legacy * fix: node script invocation on windows * Update CHANGELOG.md * Update CHANGELOG.md
* Add flag feature to json parsing * Add test * Pass jsx flags to compiler
* Add Belt.Array.getOrThrow and setOrThrow * Add Belt.Map.getOrThrow and Belt.MutableMap.getOrThrow * Add Belt.Set.getOrThrow and Belt.MutableSet.getOrThrow * Exclude rewatch from biome checks * Add Belt.List.getOrThrow, headOrThrow and tailOrThrow * Add Belt.MutableQueue.peekOrThrow and popOrThrow * Add Belt.Option.getOrThrow * Add Belt.Result.getOrThrow * Update runtime JS output * Add xxxOrThrow functions to specialised Belt Map and Set data structures * Update CHANGELOG entries to be in alpha 15 instead of alpha 14
* Remove deprecations from Belt functions ending in Exn * Update CHANGELOG
…ithout a `@module` attribute Fixes #7577
* docstrings for bigint * fix test
* docstrings for ArrayBuffer * change to == * change and deprecate
* Add missing docstring for String * Update analysis snapshot * Remove Symbol functions from String module * Add changelog entry * Revert "Remove Symbol functions from String module" This reverts commit 44193d3. * Revert "Add changelog entry" This reverts commit e28d75e. * Update String doc samples * Remove symbol bindings * Update analysis tests
* Update CompilerArgs path help text * Update CompilerArgs path help text
* improve a few error messages around polymorphic variants * add note * changelog * wording
* Show completion for inline record fields * Extract shared record completion logic into helper * Add CHANGELOG entry
* rescript_exe -> rescript_legacy_exe * rescript.exe -> rescript-legacy.exe * rewatch.exe -> rescript.exe * cli/rescript.js -> cli/rescript-legacy.js * cli/rewatch.js -> cli/rescript.js * rewatch_exe -> rescript_exe * rewatch.exe -> rescript.exe * Remove rewatch/postinstall.js * Rename runtime build scripts * Fix gentype tests * Build analysis tests with legacy build system * Build playground with legacy build system * Build more stuff with legacy build system * CHANGELOG * Testrepo: use pkg.pr.new * Fix installation test * Undo comment change
* Remove outdated rewatch README file * rewatch.lock -> rescript.lock * Remove "rewatch" from wording in message texts
* Update rewatch dependencies with cargo update * Migrate to Rust edition 2024 with 'cargo fix --edition' * Run cargo fmt * Add CHANGELOG entry
* fix: ignore warning config for non local deps * chore: changelog
…7616) * Rewatch: fix panic if package.json name different from module name * CHANGELOG
* Fix finding the standard library for pnpm * Add pnpm installation test and parallelize installation tests
) * add experimental command to format code blocks embedded in docstrings * normalize whitespace better * fix offset lines calculation * fix tests * format Stdlib_Result.resi with the new docstrings formatter * just output the filename without the full path for now * fix * disable color in docstring format tests since it breaks in different environments in CI * better approach than a new env variable * more tweaks to not make more changes to docstrings than needed * do not edit anything if we didnt have any code blocks * use cmarkit for transforming codeblocks * add to opam file * add to dune-project * make markdown code block formatter work on markdown files as well * restructure args * refactor * add transform for assertEqual -> == in code blocks * change printer to make width optional * explicit cmarkit * add note about --transform-assert-equal * support more rescript lang tags * support resi code blocks as well * add missing help text * changelog
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )