repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
electron/electron
3ed8da093148df2f03e2a1020d2bbebc99a58ac4
e2f49edf8320be9be44c1e57dc6d6729462e4c15
fix: dialog DCHECK on Linux (#28478)
[ { "path": "shell/browser/ui/file_dialog_gtk.cc", "patch": "@@ -169,6 +169,7 @@ class FileChooserDialog {\n gtk_file_chooser_set_create_folders(dialog_, TRUE);\n \n if (!settings.default_path.empty()) {\n+ base::ThreadRestrictions::ScopedAllowIO allow_io;\n if (base::DirectoryExists(sett...
2021-04-06T06:54:58
nodejs/node
da1c9e3ecb22f93a8a6db2cd73261da0ebcaeee1
5a5897220795fc6ae9ad4434d0ba0160805d9927
tools: update eslint-plugin-jsdoc Run a subset of `tools/dep_updaters/update-eslint.sh` to update `eslint-plugin-jsdoc` to get rid of a spurious ENOENT error when running the linter. PR-URL: https://github.com/nodejs/node/pull/48393 Fixes: https://github.com/nodejs/node/issues/48374 Reviewed-By: Debadree Chatterjee <...
[ { "path": "tools/node_modules/eslint/node_modules/builtin-modules/builtin-modules.json", "patch": "@@ -0,0 +1,43 @@\n+[\n+\t\"assert\",\n+\t\"async_hooks\",\n+\t\"buffer\",\n+\t\"child_process\",\n+\t\"cluster\",\n+\t\"console\",\n+\t\"constants\",\n+\t\"crypto\",\n+\t\"dgram\",\n+\t\"diagnostics_channel\",...
2023-06-09T03:40:02
vercel/next.js
785e9660d47471d8585efad22de34813dd05b886
26bf734494709f76d11acf9411a02af9ec965b2e
Fix: Build error causes infinite loop on new dev overlay in Turbopack (#75984) ### What? When you enable both Turbopack, and the new dev overlay, you will see that the dev overlay is frozen and the network tab shows that it is fetching the stack frames API indefinitely. ### Why? ​During our migration to the new dev...
[ { "path": "packages/next/src/client/components/react-dev-overlay/_experimental/app/react-dev-overlay.tsx", "patch": "@@ -10,7 +10,7 @@ import { CssReset } from '../internal/styles/css-reset'\n import { Colors } from '../internal/styles/colors'\n import { ErrorOverlay } from '../internal/components/errors/er...
2025-02-13T21:23:06
golang/go
a4a130f6d065187e1b7f4963792af5d5e84efa3c
3b96eebcbdf472326b9d6e46c373992bac9f72bb
cmd/compile: propagate constant ranges through multiplies and shifts Fixes #40704 Fixes #66826 Change-Id: Ia9c356e29b2ed6f2e3bc6e5eb9304cd4dccb4263 Reviewed-on: https://go-review.googlesource.com/c/go/+/599256 Reviewed-by: Michael Knyszek <mknyszek@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-a...
[ { "path": "src/cmd/compile/internal/ssa/prove.go", "patch": "@@ -8,6 +8,7 @@ import (\n \t\"cmd/internal/src\"\n \t\"fmt\"\n \t\"math\"\n+\t\"math/bits\"\n )\n \n type branch int\n@@ -311,6 +312,40 @@ func (l limit) sub(l2 limit, b uint) limit {\n \treturn r\n }\n \n+// same as add but for multiplication.\n...
2024-06-27T22:53:24
facebook/react
8723e772b98d1a61aa0170981483c4da1e9237c5
0ba0564aeea73b496264b6b2031b990a783cc142
Fix a string interpolation typo in ReactHooks test (#22174)
[ { "path": "packages/react-reconciler/src/__tests__/ReactHooks-test.internal.js", "patch": "@@ -1591,8 +1591,7 @@ describe('ReactHooks', () => {\n }\n });\n \n- it(`warns when more hooks (${(hookNameA,\n- hookNameB)}) are used during update than mount`, () => {\n+ it(`warns when ...
2021-08-26T19:35:06
electron/electron
19d7a6b76168282b9d62947702eb2ca846ccd3d7
82ea8ea68cabdeea9d89a24965fd886d9233181e
fix: enable system maximization for frameless windows except if transparent (#28207) * fix: move widget maximization check * fix linting error * change workaround to only effect transparent windows * disable menu maximize and restore for transparent windows * disable double clicking title bar max/unmax for...
[ { "path": "docs/api/frameless-window.md", "patch": "@@ -83,8 +83,10 @@ win.show()\n blur effect to the content below the window (i.e. other applications open on\n the user's system).\n * The window will not be transparent when DevTools is opened.\n-* On Windows operating systems, transparent windows wil...
2021-04-05T23:53:59
nodejs/node
9dc2d1b964db5ff96e8dbffe0a8ac9d3e3ae6488
077fd7d83d7d41695137c1af5b9be1d72250e69e
test: fix flaky test-watch-mode PR-URL: https://github.com/nodejs/node/pull/48147 Fixes: https://github.com/nodejs/node/issues/44898 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
[ { "path": "test/fixtures/watch-mode/dependant.js", "patch": "@@ -1,2 +0,0 @@\n-const dependency = require('./dependency');\n-console.log(dependency);", "additions": 0, "deletions": 2, "language": "JavaScript" }, { "path": "test/fixtures/watch-mode/dependant.mjs", "patch": "@@ -1,2 +0...
2023-06-08T11:35:14
vercel/next.js
26bf734494709f76d11acf9411a02af9ec965b2e
50e19d7a0f5d9831035dd990a7f460eaddad1e80
fix: handle parsing destination with patterns in hostname (#75973) This handles when the rewrite destination is not a valid URL (as it's a pattern anyways, containing characters like `:` for patterns like `:subdomain.google.com` which wouldn't be valid). This uses the existing escaping behaviour to extract the url par...
[ { "path": "packages/next/src/server/lib/router-utils/resolve-routes.ts", "patch": "@@ -33,6 +33,7 @@ import { addRequestMeta } from '../../request-meta'\n import {\n compileNonPath,\n matchHas,\n+ parseDestination,\n prepareDestination,\n } from '../../../shared/lib/router/utils/prepare-destination'\...
2025-02-13T20:53:12
facebook/react
bd5bf555e1167e7088a4391e5cd419dccb39714c
0da5ad09db7ac8c0f86142f7e5ff1f72e6d33810
add more detailed error handling if profiling data does not have any React marks (#22157) Co-authored-by: Brian Vaughn <brian.david.vaughn@gmail.com>
[ { "path": "packages/react-devtools-scheduling-profiler/src/import-worker/__tests__/preprocessData-test.internal.js", "patch": "@@ -234,6 +234,29 @@ describe('preprocessData', () => {\n await expect(async () => preprocessData([randomSample])).rejects.toThrow();\n });\n \n+ it('should throw given a tim...
2021-08-23T15:01:00
golang/go
3b96eebcbdf472326b9d6e46c373992bac9f72bb
553443d41fbe643a29d452a5d4d4ce3b7442b0e9
cmd/compile: rewrite the constant parts of the prove pass Handles a lot more cases where constant ranges can eliminate various (mostly bounds failure) paths. Fixes #66826 Fixes #66692 Fixes #48213 Update #57959 TODO: remove constant logic from poset code, no longer needed. Change-Id: Id196436fcd8a0c84c7d59c04f93bd9...
[ { "path": "src/cmd/compile/internal/ssa/func.go", "patch": "@@ -796,7 +796,7 @@ func (f *Func) invalidateCFG() {\n //\tbase.DebugHashMatch(this function's package.name)\n //\n // for use in bug isolation. The return value is true unless\n-// environment variable GOSSAHASH is set, in which case \"it depends...
2024-06-15T05:29:09
electron/electron
82ea8ea68cabdeea9d89a24965fd886d9233181e
c280d770dc93dc194370510d71ed49a4886f5451
fix: reject task append to JumpList when description exceeds 260 characters (#28485) * fix: reject task when description exceeds 260 characters * Switched out wcslen() for size() [linear -> constant time] * Included comment describing the need for the additional check * Added information about character limit...
[ { "path": "docs/api/app.md", "patch": "@@ -871,6 +871,10 @@ re-add a removed item to a custom category earlier than that will result in the\n entire custom category being omitted from the Jump List. The list of removed\n items can be obtained using `app.getJumpListSettings()`.\n \n+**Note:** The maximum len...
2021-04-05T23:50:39
nodejs/node
9c5efdd5e26632404ccd91fab565a68d150e6736
1d1685e6fde1bcb47dd30c3bb45dba219939c272
test: fix `test-net-autoselectfamily` for kernel without IPv6 support PR-URL: https://github.com/nodejs/node/pull/48265 Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "test/parallel/test-net-autoselectfamily-commandline-option.js", "patch": "@@ -85,6 +85,8 @@ function createDnsServer(ipv6Addr, ipv4Addr, cb) {\n if (common.hasIPv6) {\n assert.strictEqual(error.code, 'ECONNREFUSED');\n assert.strictEqual(error.message, `connect ECONNRE...
2023-06-07T17:56:28
facebook/react
0da5ad09db7ac8c0f86142f7e5ff1f72e6d33810
4df10c58716a0118d753ac314dcb88f06b6d5a3d
Renames master to main in fixtures/flight webpack config file (#21998)
[ { "path": "fixtures/flight/config/webpack.config.js", "patch": "@@ -608,7 +608,7 @@ module.exports = function(webpackEnv) {\n // This is necessary to emit hot updates (CSS and Fast Refresh):\n isEnvDevelopment && new webpack.HotModuleReplacementPlugin(),\n // Experimental hot reloading for...
2021-08-23T14:55:37
golang/go
5bd442aba31c1720bb333dafbb65cf977091d292
44ed517c42a52e0c5831383b59eae5b38428656d
go/types, types2: avoid spurious "undefined" errors" for invalid identifiers The syntax parser complains about invalid identifiers. Don't report a typechecker error when such an identifier cannot be found in the current scope. For now add a local test for types2 only because the go/parser behaves differently than the...
[ { "path": "src/cmd/compile/internal/types2/call.go", "patch": "@@ -706,14 +706,16 @@ func (check *Checker) selector(x *operand, e *syntax.SelectorExpr, def *TypeName\n \t\t\t\t\t}\n \t\t\t\t}\n \t\t\t\tif exp == nil {\n-\t\t\t\t\tcheck.errorf(e.Sel, UndeclaredImportedName, \"undefined: %s\", syntax.Expr(e))...
2024-08-01T18:16:27
vercel/next.js
959a31214341d1ea00c0f00bcc8fc6f6a9c7b6fc
9cfc797bb7439735cc171fd459fd6f45a11fdce7
ci: fix version-staleness test (#76020) The test failed since https://github.com/vercel/next.js/pull/75882 was merged with a lot of test changes, but https://github.com/vercel/next.js/pull/75768 didn't rebase.
[ { "path": "test/development/acceptance-app/version-staleness.test.ts", "patch": "@@ -54,23 +54,22 @@ describe('Error Overlay version staleness', () => {\n if (process.env.TURBOPACK) {\n expect(await getStaleness(browser)).toMatchInlineSnapshot(`\n \"Next.js 1.0.0 (outdated)\n- ...
2025-02-13T20:07:47
electron/electron
e6aefed0eee518f7cb5b3bd8d9ce8870e5c2bcb8
fa65faa4b0221dfd6e5d64abcff01321640a19ad
fix: free IsolateData in ~NodeEnvironment (#28469) This seems to just have been missing here, leaking memory (and breaking the API contract for Node.js embedding).
[ { "path": "shell/browser/javascript_environment.cc", "patch": "@@ -363,7 +363,9 @@ void JavascriptEnvironment::OnMessageLoopDestroying() {\n NodeEnvironment::NodeEnvironment(node::Environment* env) : env_(env) {}\n \n NodeEnvironment::~NodeEnvironment() {\n+ auto* isolate_data = env_->isolate_data();\n n...
2021-04-01T23:46:11
facebook/react
4df10c58716a0118d753ac314dcb88f06b6d5a3d
fc3b6a4118de30ae76f67c2be3d463679c11f4b7
Yarn replace-fork should not silently error (#22156)
[ { "path": "scripts/merge-fork/replace-fork.js", "patch": "@@ -22,7 +22,15 @@ async function main() {\n await Promise.all(oldFilenames.map(unforkFile));\n \n // Use ESLint to autofix imports\n- spawnSync('yarn', ['linc', '--fix']);\n+ const spawn = spawnSync('yarn', ['linc', '--fix'], {\n+ stdio: ['...
2021-08-22T20:53:07
nodejs/node
f351c8a6c12cac56b386dc94d297d43104cd2574
c54115391fee30c1cdc95c375ea5326f0aa2969e
test: refactor test-gc-http-client-timeout Due to server response delay, all possible requests are created anyway. Instead of doing `36 * os.availableParallelism()` requests, use a fixed number. Refs: https://github.com/nodejs/node/pull/48078#issuecomment-1568183115 PR-URL: https://github.com/nodejs/node/pull/48292 R...
[ { "path": "test/sequential/test-gc-http-client-timeout.js", "patch": "@@ -1,12 +1,10 @@\n 'use strict';\n // Flags: --expose-gc\n-// just like test-gc-http-client.js,\n-// but with a timeout set\n+// Like test-gc-http-client.js, but with a timeout set.\n \n const common = require('../common');\n const onGC ...
2023-06-06T15:42:42
golang/go
44ed517c42a52e0c5831383b59eae5b38428656d
b62342216d632d972f1438b4f542f89c4b4a331d
cmd/go/internal/load: make check for path in import error more robust When producing an ImportPathError from ImportErrorf, we check to see whether the error string contains the path for the error. The issue is that we were checking for the exact path string when sometimes the string is quoted when the error is constru...
[ { "path": "src/cmd/go/internal/load/pkg.go", "patch": "@@ -539,7 +539,7 @@ type importError struct {\n \n func ImportErrorf(path, format string, args ...any) ImportPathError {\n \terr := &importError{importPath: path, err: fmt.Errorf(format, args...)}\n-\tif errStr := err.Error(); !strings.Contains(errStr, ...
2024-08-06T16:42:34
vercel/next.js
9cfc797bb7439735cc171fd459fd6f45a11fdce7
9f89c65afd58074c8eac2573b801e89fbc89cbd9
[ppr] Improve experimental debugging (#76016) This fixes a bug with the experimental PPR debugging where it previously always failed in production because the hydration script was always invoked even when the stream was terminated early due to the debugging state. <!-- Thanks for opening a PR! Your contribution is mu...
[ { "path": "packages/next/src/build/webpack/plugins/define-env-plugin.ts", "patch": "@@ -192,6 +192,10 @@ export function getDefineEnv({\n 'process.env.__NEXT_DYNAMIC_IO': isDynamicIOEnabled,\n 'process.env.__NEXT_USE_CACHE': isUseCacheEnabled,\n 'process.env.NEXT_DEPLOYMENT_ID': config.deploymen...
2025-02-13T19:32:15
facebook/react
fc3b6a4118de30ae76f67c2be3d463679c11f4b7
f5e529176eb676caa4ac0577f83efd5e464b3ccf
Fix a few typos (#22154) Co-authored-by: Bowen Li <bowen31337@gmail.com>
[ { "path": "packages/react-reconciler/src/ReactFiberBeginWork.new.js", "patch": "@@ -1901,7 +1901,7 @@ function shouldRemainOnFallback(\n if (current !== null) {\n const suspenseState: SuspenseState = current.memoizedState;\n if (suspenseState === null) {\n- // Currently showing content. Don't...
2021-08-22T18:11:35
electron/electron
fa65faa4b0221dfd6e5d64abcff01321640a19ad
e323bfe661a22038a840f7f123b35e6179368b76
feat: Use GtkFileChooserNative to support the XDG Desktop Portal specification (#19159) * feat: Use GtkFileChooserNative if available to support XDG portals With this commit, users on KDE/plasma will finally have support in Electron for their native file choosers dialogs. * fix: namespace * fix: labels were ...
[ { "path": "shell/browser/ui/file_dialog_gtk.cc", "patch": "@@ -2,16 +2,17 @@\n // Use of this source code is governed by the MIT license that can be\n // found in the LICENSE file.\n \n-#include <memory>\n+#include <gmodule.h>\n \n-#include \"shell/browser/ui/file_dialog.h\"\n-#include \"shell/browser/ui/gt...
2021-04-01T23:29:27
nodejs/node
41f8abc6b5b9450792728bd9d72e98650da8c741
7f9fd76f25fb00335db29c7bb3bdb858dd946a77
build: update action to close stale PRs My original plan of adding a lable to limit those initially process as outlined in https://github.com/nodejs/node/pull/48051 does not work I think because adding a lable updates the last update time. - Removing the need for the lable - Remove the cron scheduling so that it only...
[ { "path": ".github/workflows/close-stale-pull-requests.yml", "patch": "@@ -1,14 +1,11 @@\n-name: Close stale feature requests\n+name: Close stale pull requests\n on:\n workflow_dispatch:\n inputs:\n endDate:\n description: stop processing PRs after this date\n required: false\n ...
2023-05-26T18:48:04
golang/go
b62342216d632d972f1438b4f542f89c4b4a331d
abc3d2c1191c3b96565ebd10012712ac403c2a9f
os: remove non-constant format string in t.Errorf call Fixes #68744 Change-Id: I12db785fc21c18db69d57cf91e2190b4a3df2484 Reviewed-on: https://go-review.googlesource.com/c/go/+/603515 Reviewed-by: Robert Griesemer <gri@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com...
[ { "path": "src/os/os_test.go", "patch": "@@ -1533,10 +1533,10 @@ func testChtimes(t *testing.T, name string) {\n \t\t\t\tt.Log(errormsg)\n \t\t\t\tt.Log(\"Known NetBSD issue (atime not changed on fs mounted with noatime); ignoring.\")\n \t\t\t} else {\n-\t\t\t\tt.Errorf(errormsg)\n+\t\t\t\tt.Error(errormsg)...
2024-08-06T17:06:39
facebook/react
f5e529176eb676caa4ac0577f83efd5e464b3ccf
9e8fe11e118c07713c7af4458b70aae57c889394
Fix typo in preprocessData.js (#22150) Fix typo: SUSPEND_DURING_UPATE -> SUSPEND_DURING_UPDATE
[ { "path": "packages/react-devtools-scheduling-profiler/src/import-worker/preprocessData.js", "patch": "@@ -67,7 +67,7 @@ const WARNING_STRINGS = {\n 'A big nested update was scheduled during layout. ' +\n 'Nested updates require React to re-render synchronously before the browser can paint. ' +\n ...
2021-08-22T17:37:36
vercel/next.js
1c85b755b56ac619ded669a65b7343f154492eba
ed676009e3e2914f1bbdd43d8d247c177bea5bea
[DevOverlay]: enable by default (#75882) - `newDevOverlay: true` by default (enables experimental React builds on canary until owner stacks progress further) - `run-tests` now sets the env var for tests that were relying on it for forking behavior - PPR runners now run with the flag disabled to help catch regressi...
[ { "path": ".eslintrc.json", "patch": "@@ -45,7 +45,11 @@\n \"jest/no-conditional-expect\": \"off\",\n \"jest/valid-title\": \"off\",\n \"jest/no-interpolation-in-snapshots\": \"off\",\n- \"jest/no-export\": \"off\"\n+ \"jest/no-export\": \"off\",\n+ \"jest/no-sta...
2025-02-13T18:57:32
electron/electron
ba3b2189ad047778dbce74e40c9a75481d97f72e
bdeeabdc3c55503aa0306d76f56edc769c7e90d4
build: fix unicode patch file comparison in git.py (#28454) This caused some patches to fail incorrectly as the patch file included non-ascii characters, we have to manually convert using the utf8 charset
[ { "path": "script/lib/git.py", "patch": "@@ -307,17 +307,19 @@ def export_patches(repo, out_dir, patch_range=None, dry_run=False):\n # exported patch differs from what exists. Report number of mismatched\n # patches and fail if there's more than one.\n patch_count = 0\n+ bad_patches = []\n ...
2021-03-31T20:48:21
nodejs/node
5c27cc2afbe77d4978a7c773c1dcf2e738aad7e7
c6e7e4273392fa9ebf01019bf78adf84b0537cfd
test_runner: apply `runOnly` on suites PR-URL: https://github.com/nodejs/node/pull/48279 Fixes: https://github.com/nodejs/node/issues/47937 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
[ { "path": "lib/internal/test_runner/test.js", "patch": "@@ -759,6 +759,8 @@ class Suite extends Test {\n constructor(options) {\n super(options);\n \n+ this.runOnlySubtests = testOnlyFlag;\n+\n try {\n const { ctx, args } = this.getRunArgs();\n const runArgs = [this.fn, ctx];", ...
2023-06-01T09:59:51
golang/go
1f0c044d60211e435dc58844127544dd3ecb6a41
677e080dfed1f17de76d4914cf4935b4914e9ddb
test: add test that caused gofrontend to crash Apparently people don't tend to pass untyped constant expressions to panic. For #68734 Change-Id: I6fff8137a0f001391de9e61860b67026a9db08c2 Reviewed-on: https://go-review.googlesource.com/c/go/+/603096 Reviewed-by: David Chase <drchase@google.com> Auto-Submit: Ian Lance...
[ { "path": "test/fixedbugs/issue68734.go", "patch": "@@ -0,0 +1,17 @@\n+// compile\n+\n+// Copyright 2024 The Go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+\n+// The gofrontend had a bug handling panic of an unty...
2024-08-05T18:54:51
facebook/react
9e8fe11e118c07713c7af4458b70aae57c889394
83205c0aea3226eac063910bab128f3258d7c7dc
[DevTools] Keep query params in extracted source map urls (#22148) ## Summary Our current logic for extracting source map urls assumed that the url contained no query params (e.g. `?foo=bar`), and when extracting the url we would cut off the query params. I noticed this during internal testing, since removing the q...
[ { "path": "packages/react-devtools-extensions/src/__tests__/__source__/__compiled__/external/ComponentUsingHooksIndirectly.js", "patch": "@@ -42,4 +42,4 @@ function useIsDarkMode() {\n }, []);\n return [isDarkMode, () => {}];\n }\n-//# sourceMappingURL=ComponentUsingHooksIndirectly.js.map\n\\ No newline...
2021-08-20T22:04:30
vercel/next.js
ed676009e3e2914f1bbdd43d8d247c177bea5bea
a2f52edcf18c454d3f5d7f6bfeb38d18eeede031
webpack: Sourcemap externals when replayed in the browser (#75863) This was already implemented in the middleware for Turbopack but absent when Webpack was used. We now always prefer the native `findSourceMap` over invoking Webpack's API. This way stackframes from externals are now properly sourcemapped (and therefor...
[ { "path": "packages/next/src/client/components/react-dev-overlay/server/middleware-webpack.ts", "patch": "@@ -1,4 +1,5 @@\n import { constants as FS, promises as fs } from 'fs'\n+import { findSourceMap, type SourceMap } from 'module'\n import path from 'path'\n import { fileURLToPath, pathToFileURL } from '...
2025-02-13T17:48:10
nodejs/node
e9e1181781dfe08aa1baaf429b91886141f41be9
de4fb11e4f29b91656b831a6fb7619c94b630626
doc: clarify array args to Buffer.from() The code for Buffer.from() treats non-Buffer and non-Uint8Array Array-likes as Arrays. This creates some confusion when passing various TypedArrays to Buffer.from(). The documentation now reflects the actual behavior. Fixes: https://github.com/nodejs/node/issues/28725 PR-URL: ...
[ { "path": "doc/api/buffer.md", "patch": "@@ -1118,6 +1118,12 @@ const { Buffer } = require('node:buffer');\n const buf = Buffer.from([0x62, 0x75, 0x66, 0x66, 0x65, 0x72]);\n ```\n \n+If `array` is an `Array`-like object (that is, one with a `length` property of\n+type `number`), it is treated as if it is an...
2023-06-02T21:44:47
golang/go
d465aee0b80b8eb0b63929deb8de0b21187c59a7
f428c7b729d3d9b37ed4dacddcd7ff88f4213f70
cmd/internal/testdir: fix failure when GOAMD64=v3 is specified in goenv file Fixes #68548 Add GOENV=off, GOFLAGS= to the build of the stdlib, so that it matches what runcmd does. This ensures that the runtime and the test are built with the same flags. As opposed to before this CL, where flags were used in the stdlib...
[ { "path": "src/cmd/internal/testdir/testdir_test.go", "patch": "@@ -219,7 +219,9 @@ var stdlibImportcfgString string\n \n func stdlibImportcfg() string {\n \tstdlibImportcfgStringOnce.Do(func() {\n-\t\toutput, err := exec.Command(goTool, \"list\", \"-export\", \"-f\", \"{{if .Export}}packagefile {{.ImportPa...
2024-07-22T20:27:09
facebook/react
b6ff9ad1630b4f1d7cb98e9b9ec46bca315bb302
986d0e61d7085d4b8eea0386235d1b5ca9f47349
DevTools: update error indices when elements are added/removed (#22144)
[ { "path": "packages/react-devtools-shared/src/__tests__/treeContext-test.js", "patch": "@@ -2119,6 +2119,64 @@ describe('TreeListContext', () => {\n `);\n });\n \n+ it('should update correctly when elements are added/removed', () => {\n+ const container = document.createElement('div');\n+ ...
2021-08-20T15:55:42
vercel/next.js
f95d8b98067103b452ed202e94e40ea6834f3526
5891da2d2b8e73dc45a761a1b8f1671dd52223f2
[Turbopack] improve race condition handling of scheduling (#75748) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change(s) that you're making: ...
[ { "path": "turbopack/crates/turbo-tasks-backend/src/backend/operation/aggregation_update.rs", "patch": "@@ -1575,25 +1575,35 @@ impl AggregationUpdateQueue {\n let children = get_followers(&follower);\n drop(follower);\n \n- if !data.is_empty() {\n+ ...
2025-02-13T12:19:00
nodejs/node
de4fb11e4f29b91656b831a6fb7619c94b630626
66f112d8e94e6f019eae1d5dd4200eea6cbd4429
lib: do not disable linter for entire files Disabling linter for single lines is less error prone. PR-URL: https://github.com/nodejs/node/pull/48299 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Debadree Chatterjee <debadree333@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Yag...
[ { "path": "lib/internal/http2/core.js", "patch": "@@ -1,7 +1,5 @@\n 'use strict';\n \n-/* eslint-disable no-use-before-define */\n-\n const {\n ArrayFrom,\n ArrayIsArray,\n@@ -363,6 +361,7 @@ function onSessionHeaders(handle, id, cat, flags, headers, sensitiveHeaders) {\n }\n // session[kType] c...
2023-06-02T12:18:53
golang/go
3ae819ad1c962e5b4e6d4a7d855477b02755951b
40876244739f787fd9a4eb06503cc122b6c5ce52
cmd/internal/obj/loong64: add support for instructions FTINT{RM/RP/RZ/RNE}.{W/L}.{S/D} These instructions convert floating-point numbers to fixed-point numbers with the specified rounding pattern. Go asm syntax: FTINT{RM/RP/RZ/RNE}{W/V}{F/D} FJ, FD Equivalent platform assembler syntax: ftint{...
[ { "path": "src/cmd/asm/internal/asm/testdata/loong64enc1.s", "patch": "@@ -292,3 +292,20 @@ lable2:\n \tFTINTWD\t\tF0, F1\t\t// 01081b01\n \tFTINTVF\t\tF0, F1\t\t// 01241b01\n \tFTINTVD\t\tF0, F1\t\t// 01281b01\n+\n+\tFTINTRMWF\tF0, F2\t\t// 02041a01\n+\tFTINTRMWD\tF0, F2\t\t// 02081a01\n+\tFTINTRMVF\tF0, F...
2024-06-06T06:25:38
facebook/react
aa25824f3ebbdbbea01be48417f2f99251be1a12
42ef45b1294ec4f0ee0f5318dc24721ba226852e
Scheduling profiler: Fix tooltip wheel event regression (#22130) Panning horizontally via mouse wheel used to allow you to scrub over snapshot images. This was accidentally broken by a recent change. The core of the fix for this was to update `useSmartTooltip()` to remove the dependencies array so that a newly rendere...
[ { "path": "packages/react-devtools-scheduling-profiler/src/CanvasPage.js", "patch": "@@ -419,44 +419,6 @@ function AutoSizedCanvas({\n return;\n }\n \n- // Wheel events should always hide the current tooltip.\n- switch (interaction.type) {\n- case 'wheel-control':\n- case 'wheel-me...
2021-08-18T23:51:34
rust-lang/rust
b12b766cf33791020f453198f1545592c424c3c3
1514495151d4d2e0aa5a1d7157d1a4ce87e443ce
fix previously dead android tests and remove some dangling files
[ { "path": "src/tools/miri/ci/ci.sh", "patch": "@@ -152,7 +152,7 @@ case $HOST_TARGET in\n # Partially supported targets (tier 2)\n BASIC=\"empty_main integer heap_alloc libc-mem vec string btreemap\" # ensures we have the basics: pre-main code, system allocator\n UNIX=\"hello panic/panic panic/u...
2025-12-07T09:43:07
vercel/next.js
5891da2d2b8e73dc45a761a1b8f1671dd52223f2
8424a9a0721560e3e0ab79ee709d6557cb7f23ba
fix(CI): Initialize non-existent bundler manifests (#75987) These jobs were failing because they first attempt to open the existing file to compare, and there was no pre-existing file: https://github.com/vercel/next.js/actions/workflows/rspack-update-tests-manifest.yml Fixed this by running: ``` echo '{}' > /home/b...
[ { "path": ".github/workflows/rspack-update-tests-manifest.yml", "patch": "@@ -42,8 +42,8 @@ jobs:\n GITHUB_TOKEN: ${{ secrets.GH_TOKEN_PULL_REQUESTS }}\n BRANCH_NAME: rspack-manifest\n SCRIPT: test/build-rspack-dev-tests-manifest.js\n- PR_TITLE: Update Rspack developme...
2025-02-13T05:19:15
nodejs/node
403a72f8ec321066f09d01faa0bffaa4b9783616
aca3a103a60ec31a30d1605dcf1fe214b8630619
net: fix address iteration with autoSelectFamily When `autoSelectFamily` is set to `true`, `net.connect` is supposed to try connecting to both IPv4 and IPv6, interleaving the address types. Instead, it appears that the array that holds the addresses in the order they should be attempted was never used after being popu...
[ { "path": "lib/net.js", "patch": "@@ -1476,7 +1476,7 @@ function lookupAndConnectMultiple(\n \n const context = {\n socket: self,\n- addresses,\n+ addresses: toAttempt,\n current: 0,\n port,\n localPort,", "additions": 1, "deletions": 1, "langu...
2023-06-01T20:53:56
golang/go
2ffcfcef5597ae9d8f27f6d251785e1624c8c020
9cfe3a86d34f7f4a401dae9a22389b12f7e8bb2e
time: restore support for large negative days in Date CL 586257 converted days to uint32 which is usually fine but fails for negative days close to cycle boundaries. Fixes #68718 Change-Id: I8dc5b8fe0c7c1921beb204da1913b9a1ab39280d Reviewed-on: https://go-review.googlesource.com/c/go/+/602815 Reviewed-by: Rob Pike <...
[ { "path": "src/time/time.go", "patch": "@@ -591,6 +591,7 @@ type absJanFeb int\n \n // dateToAbsDays takes a standard year/month/day and returns the\n // number of days from the absolute epoch to that day.\n+// The days argument can be out of range and in particular can be negative.\n func dateToAbsDays(yea...
2024-08-02T18:33:34
facebook/react
42ef45b1294ec4f0ee0f5318dc24721ba226852e
f1db9c30cc42b4fa8df748a31180b2a68f563e0f
[DevTools] Using array destructuring without assigning first variable does not error (#22129) ## Summary Before this commit, if a hook returned an array the was destructured, but without assigning a variable to the first element in the array, this would produce an error. This was detected via internal testing. T...
[ { "path": "packages/react-devtools-extensions/src/__tests__/__source__/__untransformed__/ComponentWithUseState.js", "patch": "@@ -14,7 +14,8 @@ function Component(props) {\n const [foo] = useState(true);\n const bar = useState(true);\n const [baz] = React.useState(true);\n+ const [, forceUpdate] = us...
2021-08-18T22:26:57
rust-lang/rust
b49e56d5a887a2c4dd8d78e9f215a219bd03a1ac
5642a2d322937b2ea85856f0c4e0949d63f41d8c
fix typo (this commit will be squashed after review)
[ { "path": "src/tools/tidy/src/extra_checks/mod.rs", "patch": "@@ -754,7 +754,7 @@ enum ExtraCheckParseError {\n /// `auto` specified without lang part.\n AutoRequiresLang,\n /// `if-installed` specified without lang part.\n- IfInsatlledRequiresLang,\n+ IfInstalledRequiresLang,\n }\n \n str...
2025-12-29T22:11:16
golang/go
aac7106cb9b6e59cb16f1c0a1123a67669a4ed2d
2ca1ae8e09a9f821d4bc04c06b18114eafdea12f
crypto/tls: fix testHandshake close flakes The flakes were introduced by me in CL 586655. It's unclear why only FreeBSD seems affected, maybe other TCP stacks handle sending on a half-closed connection differently, or aren't as quick to propagate the RST over localhost. Fixes #68155 Change-Id: I32a1b474a7d6531dbab93...
[ { "path": "src/crypto/tls/handshake_test.go", "patch": "@@ -491,9 +491,10 @@ func testHandshake(t *testing.T, clientConfig, serverConfig *Config) (serverStat\n \t\tif got := string(buf); got != sentinel {\n \t\t\tt.Errorf(\"read %q from TLS connection, but expected %q\", got, sentinel)\n \t\t}\n-\t\tif err ...
2024-08-01T21:41:13
facebook/react
f1db9c30cc42b4fa8df748a31180b2a68f563e0f
7ed0706d7ec9907e8fd19c4cf0e8625733cf2a1c
[DevTools] Support object destructuring pattern without runtime errors (#22128) ## Summary Before this commit, if a hook returned an object and we declared a variable using object destructuring on the returned value, we would produce a runtime error. This was detected via internal testing. This commit fixes that...
[ { "path": "packages/react-devtools-extensions/src/SourceMapMetadataConsumer.js", "patch": "@@ -89,9 +89,9 @@ export class SourceMapMetadataConsumer {\n return getHookNameForLocation({line, column}, hookMap);\n }\n \n- hasHookMap(source: ?string) {\n+ hasHookMap(source: ?string): boolean {\n if (...
2021-08-18T22:17:29
rust-lang/rust
36d8e77439b37c5bec246700d8778fce5a626119
7fefa09b90ca57b8a0e0e4717d672d38a0ae58b5
Correct hexagon "unwinder_private_data_size" Discovered while porting libstd to hexagon-unknown-qurt: the unwinder data size refers to the count of pointers in _Unwind_Exception but when I put the value "35" intiially for hexagon linux, I incorrectly considered the size of the exception context hexagon_thread_state_t ...
[ { "path": "library/unwind/src/libunwind.rs", "patch": "@@ -78,8 +78,8 @@ pub const unwinder_private_data_size: usize = 20;\n #[cfg(all(target_arch = \"wasm32\", target_os = \"linux\"))]\n pub const unwinder_private_data_size: usize = 2;\n \n-#[cfg(all(target_arch = \"hexagon\", target_os = \"linux\"))]\n-pu...
2025-12-29T17:40:41
electron/electron
a006cf681b84cac08229a545f39a158ddedef0da
6016e244fa91e343b96ac0e33aac533c4e8682a4
chore: bump chromium to 91.0.4448.0 (master) (#28009) * chore: bump chromium in DEPS to 91.0.4435.3 * build: add 'use_rts' definition Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2694187 * chore: update patches * chore: media_internal_resources becomes resources Refs: https://chromium...
[ { "path": ".circleci/config.yml", "patch": "@@ -85,17 +85,17 @@ machine-linux-2xlarge: &machine-linux-2xlarge\n \n machine-mac: &machine-mac\n macos:\n- xcode: \"12.2.0\"\n+ xcode: \"12.4.0\"\n \n machine-mac-large: &machine-mac-large\n resource_class: large\n macos:\n- xcode: \"12.2.0\"\n+ ...
2021-03-31T02:17:09
vercel/next.js
8424a9a0721560e3e0ab79ee709d6557cb7f23ba
cb8d1b0b13d365154be57b33ee870f1d7aaef941
[dev-overlay] fix: call stack silently fails to open editor with 204 (#75785) ### Why? When fails to find the file to open in the editor, the middleware returned `No Content` with 204 status. This caused to silently fail the open editor behavior. ### How? - Added 404 not found state for when the target file does no...
[ { "path": "packages/next/src/client/components/react-dev-overlay/_experimental/internal/helpers/use-open-in-editor.ts", "patch": "@@ -25,8 +25,11 @@ export function useOpenInEditor({\n )\n .then(\n () => {},\n- () => {\n- console.error('There was an issue opening this cod...
2025-02-13T04:54:06
facebook/react
9eb2aaaf8181743481bdce955ab3b5e9bbacac90
bd255700d73ed5fa88f9e32fa4b43623679adf0c
Fixed ReactSharedInternals export in UMD bundle (#22117)
[ { "path": "packages/react/src/forks/ReactSharedInternals.umd.js", "patch": "@@ -8,6 +8,7 @@\n import assign from 'object-assign';\n import * as Scheduler from 'scheduler';\n import ReactCurrentDispatcher from '../ReactCurrentDispatcher';\n+import ReactCurrentActQueue from '../ReactCurrentActQueue';\n import...
2021-08-18T05:40:55
rust-lang/rust
5467a398c2a33c9a49db2117c2c6f9e12015dd16
1ff953d63e8d470892d13cb99abeadb42bc1d997
Fix dso_local for external statics with linkage The current code applies `dso_local` to the internal generated symbols instead of the actually-externally one.
[ { "path": "compiler/rustc_codegen_llvm/src/consts.rs", "patch": "@@ -187,6 +187,10 @@ fn check_and_apply_linkage<'ll, 'tcx>(\n };\n llvm::set_linkage(g1, base::linkage_to_llvm(linkage));\n \n+ // Normally this is done in `get_static_inner`, but when as we generate an internal global,\...
2025-12-29T17:21:29
golang/go
2ca1ae8e09a9f821d4bc04c06b18114eafdea12f
1985c0ccf9ef0736aeb79ef548689aa935fa5c4c
os: clarify Rename docs for renaming to a directory Fixes #68690 Change-Id: Iebc27d5f385d787e568550a863f59f16c7a79fd7 Reviewed-on: https://go-review.googlesource.com/c/go/+/602178 Auto-Submit: Ian Lance Taylor <iant@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> ...
[ { "path": "src/os/file.go", "patch": "@@ -404,6 +404,7 @@ var lstat = Lstat\n \n // Rename renames (moves) oldpath to newpath.\n // If newpath already exists and is not a directory, Rename replaces it.\n+// If newpath already exists and is a directory, Rename returns an error.\n // OS-specific restrictions ...
2024-08-01T03:35:47
electron/electron
6016e244fa91e343b96ac0e33aac533c4e8682a4
c9217f07e66446a6c2778a92875e3a2b04beb856
fix: handle an unparsable pdf manifest (#28432)
[ { "path": "shell/browser/extensions/electron_extension_system.cc", "patch": "@@ -114,13 +114,16 @@ void ElectronExtensionSystem::LoadComponentExtensions() {\n std::string pdf_manifest_string = pdf_extension_util::GetManifest();\n std::unique_ptr<base::DictionaryValue> pdf_manifest =\n ParseManifes...
2021-03-30T21:53:40
vercel/next.js
3434df935703c8bccfba34b8c7471005600fe75a
306c5636f519d01cede3f85df7ac4012d05ae832
[error overlay] fix infinite loop when frames are failed to fetch (#75988)
[ { "path": "packages/next/src/client/components/react-dev-overlay/internal/helpers/stack-frame.ts", "patch": "@@ -77,29 +77,37 @@ export async function getOriginalStackFrames(\n isAppDirectory: isAppDir,\n }\n \n- const res = await fetch('/__nextjs_original-stack-frames', {\n- method: 'POST',\n- ...
2025-02-13T00:40:09
facebook/react
bd255700d73ed5fa88f9e32fa4b43623679adf0c
424fe587087d05302259d6d5ebb359675387f3b1
Show a soft error when a text string or number is supplied as a child to non text wrappers (#22109)
[ { "path": "packages/react-native-renderer/src/ReactFabricHostConfig.js", "patch": "@@ -22,8 +22,6 @@ import type {\n import {mountSafeCallback_NOT_REALLY_SAFE} from './NativeMethodsMixinUtils';\n import {create, diff} from './ReactNativeAttributePayload';\n \n-import invariant from 'shared/invariant';\n-\n ...
2021-08-17T01:43:24
rust-lang/rust
1ff953d63e8d470892d13cb99abeadb42bc1d997
7e7280f24bffbee05da618fb8e7420d8f788213f
Fix and expand direct-access-external-data test This test currently doesn't fulfill its purpose, as `external dso_local` can still match `external {{.*}}`. Fix this by using CHECK-NOT directives. Also, this test is expanded to all platforms where it makes sense, instead of restricting to loongarch.
[ { "path": "tests/codegen-llvm/direct-access-external-data.rs", "patch": "@@ -1,21 +1,25 @@\n-//@ only-loongarch64-unknown-linux-gnu\n+//@ ignore-powerpc64 (handles dso_local differently)\n+//@ ignore-apple (handles dso_local differently)\n \n-//@ revisions: DEFAULT DIRECT INDIRECT\n+//@ revisions: DEFAULT P...
2025-12-29T19:23:26
nodejs/node
fa1c73213f387f5e12b7133299b3f7ddef1126f1
d28f1f1193efc4209d87a18f68fb1a8225afebff
esm: handle `globalPreload` hook returning a nullish value PR-URL: https://github.com/nodejs/node/pull/48249 Fixes: https://github.com/nodejs/node/issues/48240 Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Jacob Smith <jacob@frende.me>
[ { "path": "lib/internal/modules/esm/hooks.js", "patch": "@@ -169,7 +169,7 @@ class Hooks {\n port: insideLoader,\n });\n \n- if (preloaded == null) { return; }\n+ if (preloaded == null) { continue; }\n \n if (typeof preloaded !== 'string') { // [2]\n throw new ERR_INVAL...
2023-05-30T09:56:29
golang/go
3a55b92ccffc9211d2aac68802433712f126ec75
492e2b64dad81094a284f572b66eed93ee342fa7
runtime: add debug call injection support on loong64 Change-Id: Iaf2bd9da0b35c20c5b57db2eb9b2eea2b662140c Reviewed-on: https://go-review.googlesource.com/c/go/+/587055 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-...
[ { "path": "src/runtime/asm_loong64.s", "patch": "@@ -69,6 +69,10 @@ nocgo:\n \t// start this M\n \tJAL\truntime·mstart(SB)\n \n+\t// Prevent dead-code elimination of debugCallV2, which is\n+\t// intended to be called by debuggers.\n+\tMOVV\t$runtime·debugCallV2<ABIInternal>(SB), R0\n+\n \tMOVV\tR0, 1(R0)\n ...
2024-05-21T11:23:44
electron/electron
54e72fa8e34d629cc3b7661c0a89b3308d5f493b
5d138204413440cbd863d7aed4c14c660a6cfbf0
fix patches
[ { "path": "patches/chromium/network_service_allow_remote_certificate_verification_logic.patch", "patch": "@@ -122,10 +122,10 @@ index 8e53d65ddca7b54a6effd1767257a4d8239251d8..8a00bf59c728217069000b1f1ece72e1\n #endif // BUILDFLAG(IS_CHROMEOS_ASH)\n + auto remote_cert_verifier = std::make_unique<Remote...
2021-03-30T17:17:14
vercel/next.js
ac2b8ebfb2068661e91ae0fce5039a2e528eb25e
57c8d04b944f55e66173ede967f8a5b32966ddd9
cleanup: remove unused NEXT_RSC_ERR_* error parsing code (#75982) seems like we're not emitting any errors tagged with a `NEXT_RSC_ERR_` code anywhere, so this is dead code now
[ { "path": "crates/next-custom-transforms/src/transforms/react_server_components.rs", "patch": "@@ -333,7 +333,6 @@ fn report_error(app_dir: &Option<PathBuf>, filepath: &str, error_kind: RSCErrorK\n \"\\\"metadata\\\" and \\\"generateMetadata\\\" cannot be exported at the same time, please keep o...
2025-02-12T21:19:29
facebook/react
424fe587087d05302259d6d5ebb359675387f3b1
aebf3b456b320a931c7a292f9c5948ee57c8174f
Revert "Show a soft error when a text string or number is supplied as a child to non text wrappers (#21953)" (#22108) This reverts commit e9b2028b3280c15138bd92b0d27ffa066de3d5ca.
[ { "path": "packages/react-native-renderer/src/ReactFabricHostConfig.js", "patch": "@@ -22,6 +22,8 @@ import type {\n import {mountSafeCallback_NOT_REALLY_SAFE} from './NativeMethodsMixinUtils';\n import {create, diff} from './ReactNativeAttributePayload';\n \n+import invariant from 'shared/invariant';\n+\n ...
2021-08-17T00:53:23
rust-lang/rust
67a76f9fb5893c87bee0360e72a74ed33e2b0741
22c13893e647ce2a21da43b52c7e28ae9b439fd2
fix: `implicit_saturating_sub` suggests wrongly on untyped int literal
[ { "path": "clippy_lints/src/implicit_saturating_sub.rs", "patch": "@@ -1,9 +1,13 @@\n+use std::borrow::Cow;\n+\n use clippy_config::Conf;\n use clippy_utils::diagnostics::{span_lint_and_sugg, span_lint_and_then};\n use clippy_utils::msrvs::{self, Msrv};\n+use clippy_utils::source::snippet_with_applicability...
2025-12-29T18:32:24
golang/go
492e2b64dad81094a284f572b66eed93ee342fa7
e7619216888cdd25e445d06bc424532a922fdf94
time: fix some typos in CL 512355 Change-Id: Id0fb180a2d7910cdff7f4ab7154d9ceeb2f1cb71 GitHub-Last-Rev: 03658dd9747684f69ea238a8d1d7f7d15446099e GitHub-Pull-Request: golang/go#68709 Reviewed-on: https://go-review.googlesource.com/c/go/+/602675 Reviewed-by: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI...
[ { "path": "src/runtime/time.go", "patch": "@@ -38,7 +38,7 @@ type timer struct {\n \t// The arg and seq are client-specified opaque arguments passed back to f.\n \t// When used from netpoll, arg and seq have meanings defined by netpoll\n \t// and are completely opaque to this code; in that context, seq is a...
2024-08-01T23:42:58
nodejs/node
d28f1f1193efc4209d87a18f68fb1a8225afebff
d57dd708e24974c6cb15833419ec9a6846c20439
esm: handle more error types thrown from the loader thread PR-URL: https://github.com/nodejs/node/pull/48247 Refs: https://github.com/nodejs/node/issues/48240 Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Jacob Smith <jacob@frende.me>
[ { "path": "lib/internal/modules/esm/hooks.js", "patch": "@@ -590,16 +590,17 @@ class HooksProxy {\n if (response.message.status === 'never-settle') {\n return new Promise(() => {});\n }\n- if (response.message.status === 'error') {\n- if (response.message.body == null) throw response.m...
2023-06-01T09:21:01
electron/electron
9fecf8369fdc37e50c4631f7f23fbbf2d4e12537
9a7cfc42aa085113fa6f8f1b2051482da704c4c2
fix: errors thrown in functions over the `contextBridge` (#28346) * fix: errors thrown in functions over the contextBridge * spec: add a test * fix: ensure exception is a v8::Object
[ { "path": "shell/renderer/api/electron_api_context_bridge.cc", "patch": "@@ -429,29 +429,39 @@ void ProxyFunctionWrapper(const v8::FunctionCallbackInfo<v8::Value>& info) {\n \n v8::MaybeLocal<v8::Value> maybe_return_value;\n bool did_error = false;\n- std::string error_message;\n+ v8::Local<v8...
2021-03-30T07:26:49
vercel/next.js
eac707f0e7cde2fc0a05f88806722656d28e44c6
319a338a50bdd3244a5edba54f481d89ee73d8e6
fix: compiler error when next/cache is used in a client module (#75979) Most functions in `next/cache` don't work on the client, and produce confusing error messages when called there. It's better to just ban them at compile time. NOTE: For legacy/compat reasons, we're allowing `unstable_cache` and `unstable_noS...
[ { "path": "crates/next-custom-transforms/src/transforms/react_server_components.rs", "patch": "@@ -639,7 +639,22 @@ impl ReactServerComponentValidator {\n \n invalid_client_imports: vec![Atom::from(\"server-only\"), Atom::from(\"next/headers\")],\n \n- invalid_client_lib_apis_mapping:...
2025-02-12T20:27:21
facebook/react
e4e8226c625220944819c9237346569f09ad90a9
82583617b7842008f537653ffb3fae4858213b00
Fixed Components tree indentation bug for Chrome extension (#22083) By upgrading react-virtualized-auto-sizer to 1.0.6 See https://github.com/bvaughn/react-virtualized-auto-sizer/pull/39
[ { "path": "packages/react-devtools-scheduling-profiler/package.json", "patch": "@@ -9,7 +9,7 @@\n \"memoize-one\": \"^5.1.1\",\n \"nullthrows\": \"^1.1.1\",\n \"pretty-ms\": \"^7.0.0\",\n- \"react-virtualized-auto-sizer\": \"^1.0.2\",\n+ \"react-virtualized-auto-sizer\": \"^1.0.6\",\n ...
2021-08-13T00:41:56
golang/go
2caf638e2f8abf3ed765d553164fc3e46e1bf407
38f0a829aa041cbe5f694da52d733352aa5b70bc
runtime: don't use maps in js note implementation notes are used in sensitive locations in the runtime, such as those with write barriers forbidden. Maps aren't designed for this sort of internal use. Notably, newm -> notewakeup doesn't allow write barriers, but mapaccess1 -> panic contains write barriers. The js run...
[ { "path": "src/runtime/lock_js.go", "patch": "@@ -63,29 +63,21 @@ func unlock2(l *mutex) {\n \n // One-time notifications.\n \n-type noteWithTimeout struct {\n-\tgp *g\n-\tdeadline int64\n-}\n-\n-var (\n-\tnotes = make(map[*note]*g)\n-\tnotesWithTimeout = make(map[*note]noteWithTimeout)\n-)...
2024-06-27T21:18:51
nodejs/node
5e98a7432793c84efe504d551bb46dcfe2c04c09
26450c503af8ef7a3cb51b2be18f2d0c041bd5a1
test_runner: fix global after hook PR-URL: https://github.com/nodejs/node/pull/48231 Fixes: https://github.com/nodejs/node/issues/48230 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "lib/internal/test_runner/harness.js", "patch": "@@ -140,8 +140,8 @@ function setup(root) {\n const rejectionHandler =\n createProcessEventHandler('unhandledRejection', root);\n const coverage = configureCoverage(root, globalOptions);\n- const exitHandler = () => {\n- root.postRun(new ...
2023-05-31T15:33:30
electron/electron
9a7cfc42aa085113fa6f8f1b2051482da704c4c2
b6254bfd3615642ae0b51a6fe7022ceda67ae5cb
fix: put RemoteCertVerifier upstream from the caching and coalescing layers (#28358)
[ { "path": "patches/chromium/expose_setuseragent_on_networkcontext.patch", "patch": "@@ -33,7 +33,7 @@ index 0ccfe130f00ec3b6c75cd8ee04d5a2777e1fd00c..653829457d58bf92057cc36aa8a28970\n DISALLOW_COPY_AND_ASSIGN(StaticHttpUserAgentSettings);\n };\n diff --git a/services/network/network_context.cc b/servic...
2021-03-29T22:35:12
vercel/next.js
cf73ab10eb5f6eae24eb28bb5a31d96ae74161f7
a90f0c91d6063d25be513779cb21fb8892ba4201
examples: fix search usage (#75972)
[ { "path": "examples/cms-contentful/next.config.js", "patch": "@@ -2,6 +2,5 @@\n module.exports = {\n images: {\n loader: \"custom\",\n- search: \"\",\n },\n };", "additions": 0, "deletions": 1, "language": "JavaScript" }, { "path": "examples/image-component/next.config.js", ...
2025-02-12T17:41:00
facebook/react
82583617b7842008f537653ffb3fae4858213b00
c2bb97533716469c197353a2dbcb0ee5c54263be
Updated DevTools CHANGELOG Fixed header typo
[ { "path": "packages/react-devtools/CHANGELOG.md", "patch": "@@ -51,14 +51,14 @@ https://user-images.githubusercontent.com/29597/128971757-612f232f-c64f-4447-a76\n \n Note that “offscreen” refers to a new API and set of features that we haven’t talked about much yet except for [some passing references](https...
2021-08-12T15:03:33
rust-lang/rust
0cc8608493266486b71ce848762c663cf47a6566
7e7280f24bffbee05da618fb8e7420d8f788213f
Specify bug URL when building GCC
[ { "path": "src/bootstrap/src/core/build_steps/gcc.rs", "patch": "@@ -325,6 +325,7 @@ fn build_gcc(metadata: &Meta, builder: &Builder<'_>, target_pair: GccTargetPair)\n .arg(\"--enable-checking=release\")\n .arg(\"--disable-bootstrap\")\n .arg(\"--disable-multilib\")\n+ .arg(\"...
2025-12-29T17:06:48
golang/go
38f0a829aa041cbe5f694da52d733352aa5b70bc
b26134bf17972f959daf178087fcc0bd74b4015c
debug/buildid: treat too large string as "not a Go executable" If the length does not fit in int, saferio.ReadDataAt returns io.ErrUnexpectedEOF. Treat is as an invalid format. Fixes #68692. For #68592. Cq-Include-Trybots: luci.golang.try:gotip-linux-386-longtest Change-Id: Ie856f29c907fd10e6d9b7dfbb6f0d8008a75a1c6 ...
[ { "path": "src/debug/buildinfo/buildinfo.go", "patch": "@@ -295,6 +295,10 @@ func decodeString(x exe, addr uint64) (string, uint64, error) {\n \n \tb, err = readData(x, addr, length)\n \tif err != nil {\n+\t\tif err == io.ErrUnexpectedEOF {\n+\t\t\t// Length too large to allocate. Clearly bogus value.\n+\t\...
2024-08-01T14:17:14
nodejs/node
26450c503af8ef7a3cb51b2be18f2d0c041bd5a1
82397c0e9798509571f0ba668e9b9d087b6c7de4
net: fix family autoselection SSL connection handling PR-URL: https://github.com/nodejs/node/pull/48189 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
[ { "path": "lib/_tls_wrap.js", "patch": "@@ -634,8 +634,8 @@ TLSSocket.prototype._wrapHandle = function(wrap, handle) {\n };\n \n TLSSocket.prototype[kReinitializeHandle] = function reinitializeHandle(handle) {\n- const originalServername = this._handle.getServername();\n- const originalSession = this._han...
2023-05-26T14:28:34
electron/electron
606fd87d1e074e5412e390ed9c7e20635dbb1454
dd975328a0e96d84960079613238621a08dc9056
backport fcdf35e from v8 to fix nan crash
[ { "path": "patches/v8/.patches", "patch": "@@ -6,3 +6,4 @@ export_symbols_needed_for_windows_build.patch\n workaround_an_undefined_symbol_error.patch\n do_not_export_private_v8_symbols_on_windows.patch\n fix_build_deprecated_attirbute_for_older_msvc_versions.patch\n+skip_global_registration_of_shared_arrayb...
2021-03-26T17:42:43
facebook/react
531c97ef7a2167eac82c16bfd8cccb5eaba71f27
ad150533d6b114bb5dfc51d103b2c8044ce52790
[DevTools] Updated source map extension format + more precise types (#22073) ## Summary Follow up from https://github.com/facebook/react/pull/22010. As suggested by @motiz88, update the way the react sources metadata is stored within the fb sources metadata. Specifically, instead of `x_facebook_sources` directl...
[ { "path": "packages/react-devtools-extensions/src/SourceMapTypes.js", "patch": "@@ -0,0 +1,50 @@\n+/*\n+ * Copyright (c) Facebook, Inc. and its affiliates.\n+ *\n+ * This source code is licensed under the MIT license found in the\n+ * LICENSE file in the root directory of this source tree.\n+ *\n+ * @flow s...
2021-08-11T19:46:22
vercel/next.js
5b671c122d8e971a9461a8cdda4d6b09dbce6cda
106e17ca8f093899d300885938eab863ffa478a7
docs: fix prettier error (#75968)
[ { "path": "docs/01-app/03-building-your-application/11-upgrading/08-single-page-applications.mdx", "patch": "@@ -119,26 +119,26 @@ export function UserProvider({\n ```\n \n ```js filename=\"app/user-provider.js\" switcher\n-'use client';\n+'use client'\n \n-import { createContext, useContext, ReactNode } fr...
2025-02-12T16:55:27
rust-lang/rust
cd2c209a1c158d37d1db840c3a00aa5bf57577be
00f80b43559016fff1dc5ad2948fed04798ca5f0
Fix Clippy
[ { "path": "src/tools/rust-analyzer/crates/span/src/ast_id.rs", "patch": "@@ -804,7 +804,7 @@ impl Drop for AstIdMap {\n // block on a receive\n _ = receiver.recv();\n // then drain the entire channel\n- ...
2025-12-29T16:58:25
golang/go
4c05a23bb63efee928f3c3cbe712ae7d562ba588
6ac87aa5b36e7a9389754cf5569af94447266b47
go/types: fix typo in comment Change-Id: Ic0ea0f0de3f94e2d89bf76176c51f42e87b1bad7 GitHub-Last-Rev: 29517a07f9af17d3dfea9a1d242d734040bc575e GitHub-Pull-Request: golang/go#68695 Reviewed-on: https://go-review.googlesource.com/c/go/+/602177 Reviewed-by: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <go...
[ { "path": "src/go/types/iter.go", "patch": "@@ -106,7 +106,7 @@ func (t *Tuple) Variables() iter.Seq[*Var] {\n \t}\n }\n \n-// MethodSet returns a go1.23 iterator over the methods of a method set.\n+// Methods returns a go1.23 iterator over the methods of a method set.\n //\n // Example: for method := range...
2024-08-01T02:47:35
nodejs/node
fe76e0964c82612a6f43c7d23a829235adef5037
3e071584dcb8465f5b3c5af7c57b6c4d86796916
tools: don't gitignore base64 config.h The file is checked into git. Ignoring it causes a very non-obvious way of breaking tarball builds: 1. Download and unpack tarball 2. Check the sources into git with `git init; git add .; git commit -a` 3. Clean the source tree with `git clean -dfx` 4. Run `./configure && make` ...
[ { "path": "tools/dep_updaters/update-base64.sh", "patch": "@@ -62,7 +62,11 @@ mv \"$WORKSPACE/base64\" \"$DEPS_DIR/base64/\"\n \n # Build configuration is handled by `deps/base64/base64.gyp`, but since `config.h` has to be present for the build\n # to work, we create it and leave it empty.\n-echo \"// Inten...
2023-05-30T11:32:20
electron/electron
2632564ccf20b31e852b57fa767e11b2a46461dc
521146f71ee62a769a65bee55b448719b576d868
feat: initialize field trials from command line arguments (#28305) Fixes: #27877
[ { "path": "docs/api/command-line-switches.md", "patch": "@@ -75,6 +75,12 @@ This switch can not be used in `app.commandLine.appendSwitch` since it is parsed\n earlier than user's app is loaded, but you can set the `ELECTRON_ENABLE_LOGGING`\n environment variable to achieve the same effect.\n \n+## --force-f...
2021-03-26T00:49:00
facebook/react
ad150533d6b114bb5dfc51d103b2c8044ce52790
280e3f936f89583b44e10f29ed0ed0155b50ab8a
Updated @reach packages to fix unmount bug (#22075)
[ { "path": "packages/react-devtools-scheduling-profiler/package.json", "patch": "@@ -14,8 +14,8 @@\n },\n \"devDependencies\": {\n \"@pmmmwh/react-refresh-webpack-plugin\": \"^0.4.1\",\n- \"@reach/menu-button\": \"^0.11.2\",\n- \"@reach/tooltip\": \"^0.11.2\",\n+ \"@reach/menu-button\": \"^0...
2021-08-11T18:43:25
vercel/next.js
bd1a84dc508483895eeeebd47ed95301e4354e62
5346a9b34cdad30fbc27892985ac7a09a0d22562
docs: fix `use` pattern (#75529)
[ { "path": "docs/01-app/03-building-your-application/11-upgrading/08-single-page-applications.mdx", "patch": "@@ -86,75 +86,73 @@ You can forward a Promise to the React context provider:\n ```ts filename=\"app/user-provider.ts\" switcher\n 'use client';\n \n-import { use, createContext, ReactNode } from 'rea...
2025-02-12T16:34:05
rust-lang/rust
1313e958c84adfe9f7d62c90bced8ff16a60af7c
112a274275d77ebc2b892f056a1e2fad141f4f08
Disable debuginfo when building GCC
[ { "path": "src/bootstrap/src/core/build_steps/gcc.rs", "patch": "@@ -346,6 +346,9 @@ fn build_gcc(metadata: &Meta, builder: &Builder<'_>, target_pair: GccTargetPair)\n .map_or_else(|| cxx.clone(), |ccache| format!(\"{ccache} {cxx}\"));\n configure_cmd.env(\"CXX\", cxx);\n }\n+ // ...
2025-12-29T16:49:45
golang/go
2c1bbe7e32e9e56905cc2c4b34530d69bb5cbc6e
0a4215c234fedb3c888dd184416fa1ef08dfe9ae
go/types: add go1.23 iterator methods for 10 exported types These methods will not be mirrored in types2 until the bootstrap compiler reaches go1.23; therefore range-over-func statements must not be used in code common to types + types2. Fixes #66626 Change-Id: I3c2c15e3652ee95d9aff208d8a188b912ed5bc9a Reviewed-on: ...
[ { "path": "api/next/66626.txt", "patch": "@@ -0,0 +1,11 @@\n+pkg go/types, method (*Interface) EmbeddedTypes() iter.Seq[Type] #66626\n+pkg go/types, method (*Interface) ExplicitMethods() iter.Seq[*Func] #66626\n+pkg go/types, method (*Interface) Methods() iter.Seq[*Func] #66626\n+pkg go/types, method (*Meth...
2024-03-31T22:37:12
facebook/react
e9b2028b3280c15138bd92b0d27ffa066de3d5ca
da627ded867c882290776b4477250b6b312b77b4
Show a soft error when a text string or number is supplied as a child to non text wrappers (#21953) * Show soft errors when a text string or number is supplied as a child instead of throwing an error * bring __DEV__ check first so that things inside get removed in prod. * fix lint
[ { "path": "packages/react-native-renderer/src/ReactFabricHostConfig.js", "patch": "@@ -22,8 +22,6 @@ import type {\n import {mountSafeCallback_NOT_REALLY_SAFE} from './NativeMethodsMixinUtils';\n import {create, diff} from './ReactNativeAttributePayload';\n \n-import invariant from 'shared/invariant';\n-\n ...
2021-08-10T20:14:11
nodejs/node
6a6b3c54022104cc110ab09044a2a0cecb8988e7
84716d88d34e5f50b8fa901cb7e0e7b197c9c269
test: fix zlib version regex Add support for subrevision in the regular expression for the zlib version. Refs: https://github.com/madler/zlib/blob/48c3741002ac/zlib.h#L40 PR-URL: https://github.com/nodejs/node/pull/48227 Reviewed-By: Mestery <mestery@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "test/parallel/test-process-versions.js", "patch": "@@ -61,7 +61,7 @@ assert.match(process.versions.brotli, commonTemplate);\n assert.match(process.versions.llhttp, commonTemplate);\n assert.match(process.versions.node, commonTemplate);\n assert.match(process.versions.uv, commonTemplate);\n-assert...
2023-05-30T06:11:06
electron/electron
521146f71ee62a769a65bee55b448719b576d868
fb4e99e7297193dc63904f393e17b2a938f21ded
docs: add missing line in web-contents.md (#28376) * Update web-contents.md The text block was rendered as part of the `features` property, not the `handler` * fix linting
[ { "path": "docs/api/web-contents.md", "patch": "@@ -1131,6 +1131,7 @@ Ignore application menu shortcuts while this web contents is focused.\n * `url` String - The _resolved_ version of the URL passed to `window.open()`. e.g. opening a window with `window.open('foo')` will yield something like `https://t...
2021-03-26T00:46:59
rust-lang/rust
315646a7a05062f1177789ffb1f43a74403a3a48
82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1
Remove the explicit branch hint from const_panic
[ { "path": "library/core/src/intrinsics/mod.rs", "patch": "@@ -2402,8 +2402,7 @@ where\n /// The `@capture` block declares which surrounding variables / expressions can be\n /// used inside the `if const`.\n /// Note that the two arms of this `if` really each become their own function, which is why the\n-///...
2025-12-25T21:07:32
vercel/next.js
663ef48faeb4c820e08222c57350235ee95da673
bb3773d53f3f040b5ef5912c876ab275f2781dcc
Fix flaky error-recovery test (#75948)
[ { "path": "test/development/acceptance/error-recovery.test.ts", "patch": "@@ -1,7 +1,7 @@\n /* eslint-env jest */\n import { createSandbox } from 'development-sandbox'\n import { FileRef, nextTestSetup } from 'e2e-utils'\n-import { check, describeVariants as describe } from 'next-test-utils'\n+import { chec...
2025-02-12T11:45:33
facebook/react
64931821a9df262f2b6475404d025bcff97c3e0a
2edf449803378b5c58168727d4f123de3ba5d37f
Fix typo in parseHookNames.js (#22042) representated -> represented
[ { "path": "packages/react-devtools-extensions/src/parseHookNames/parseHookNames.js", "patch": "@@ -391,7 +391,7 @@ function findHookNames(\n const position = sourceConsumer.originalPositionFor({\n line: lineNumber,\n \n- // Column numbers are representated differently between tools/engi...
2021-08-08T19:58:50
nodejs/node
84716d88d34e5f50b8fa901cb7e0e7b197c9c269
49412c9632dc697ff52a3f731c578afc26c4654b
doc: improve the documentation of the stdio option Fixes: https://github.com/nodejs/node/issues/47705 PR-URL: https://github.com/nodejs/node/pull/48110 Refs: https://nodejs.org/docs/latest-v20.x/api/cluster.html#clustersettings Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.c...
[ { "path": "doc/api/cluster.md", "patch": "@@ -935,7 +935,8 @@ changes:\n **Default:** `false`.\n * `stdio` {Array} Configures the stdio of forked processes. Because the\n cluster module relies on IPC to function, this configuration must contain an\n- `'ipc'` entry. When this option is provided,...
2023-05-30T06:10:58
golang/go
7dac9898c3d34378de8f523a77a01bcc86033562
385e963e70aaf54a9d96a2c8c28e0a2df3527028
reflect: add flag tests for MapOf Add two tests that verify that MapOf sets the map NeedsKeyUpdate and HashMightPanic flags in the created map. Missing these flags would cause correctness issues not otherwise caught in the reflect tests. For #54766. Change-Id: Icd5f117e0794e7b4d1b70fa94e5afbe97c4543e3 Reviewed-on: h...
[ { "path": "src/reflect/all_test.go", "patch": "@@ -8603,3 +8603,48 @@ func TestSliceAt(t *testing.T) {\n \t// _ = SliceAt(typ, unsafe.Pointer(last), 1)\n \tshouldPanic(\"\", func() { _ = SliceAt(typ, unsafe.Pointer(last), 2) })\n }\n+\n+// Test that maps created with MapOf properly updates keys on overwrite...
2024-06-24T21:17:13
electron/electron
1453a8e743f5c4e4e8dfeac7ff4c982295777258
b9b734c9c47d526f7bfd8cabc688dae2d0ba045b
fix: disappearing thumbar after win.hide() (#28366) * fix: disappearing thumbar after win.hide() * Add descriptive comment
[ { "path": "shell/browser/native_window_views.cc", "patch": "@@ -442,6 +442,14 @@ void NativeWindowViews::Hide() {\n if (!features::IsUsingOzonePlatform() && global_menu_bar_)\n global_menu_bar_->OnWindowUnmapped();\n #endif\n+\n+#if defined(OS_WIN)\n+ // When the window is removed from the taskbar vi...
2021-03-25T11:02:47
vercel/next.js
07e6680ddf49a14907bb3bd82fcba6b7cc6be301
142e266de67b5c4a006f434e587e8e428d7ac767
Restore `--no-mangling` CLI option for `next build` (#75921) The `--no-mangling` CLI option for `next build` was originally introduced in #42633. However, we lost this feature during our migration from Terser to SWC. As part of broader improvements for debugging dynamic accesses with Dynamic I/O enabled, I needed this...
[ { "path": "crates/napi/src/minify.rs", "patch": "@@ -118,10 +118,17 @@ fn patch_opts(opts: &mut JsMinifyOptions) {\n .collect(),\n ..Default::default()\n });\n- opts.mangle = BoolOrDataConfig::from_obj(MangleOptions {\n- reserved: vec![\"AbortSignal\".into()],\n- ..Defau...
2025-02-12T11:08:03
facebook/react
5660c52b89ec19eec36a974e4ff16908b1dbba3c
b9934d6db5d3f5ad94929f0d05b901c3999d34e3
Scheduling Profiler: Improve warnings and add unit tests (#22038) * Scheduling Profiler: Updated instructions to mentioned v18+ requirement * Moved long-event warning to post processing This lets us rule out non-React work or React work that started before the event and finished quickly during the event. Also...
[ { "path": "packages/react-devtools-scheduling-profiler/src/SchedulingProfiler.css", "patch": "@@ -54,6 +54,7 @@\n .WelcomeInstructionsListItemLink {\n color: var(--color-link);\n margin-left: 0.25rem;\n+ margin-right: 0.25rem;\n }\n \n .ImportButtonLabel {", "additions": 1, "deletions": 0, ...
2021-08-06T18:57:52
rust-lang/rust
bb4d75f123ffef443a65fbb26f65bd15e1d82895
b0ff5733bb2e06ba967e54a4637b62475244063f
fix clippy errors
[ { "path": "src/tools/rust-analyzer/crates/rust-analyzer/src/lsp/to_proto.rs", "patch": "@@ -1595,7 +1595,7 @@ pub(crate) fn runnable(\n environment,\n cwd: cwd.into(),\n program: program.to_string(),\n- ...
2025-12-29T14:54:24
nodejs/node
1e3631f0e392eeac327c33aeb56f590814ba5c39
20080f9a193171f93bee070b162b75104b8c2b54
doc: update Buffer.allocUnsafe description PR-URL: https://github.com/nodejs/node/pull/48183 Fixes: https://github.com/nodejs/node/issues/42821 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "doc/api/buffer.md", "patch": "@@ -807,10 +807,9 @@ A `TypeError` will be thrown if `size` is not a number.\n \n The `Buffer` module pre-allocates an internal `Buffer` instance of\n size [`Buffer.poolSize`][] that is used as a pool for the fast allocation of new\n-`Buffer` instances created using ...
2023-05-29T19:48:13
golang/go
385e963e70aaf54a9d96a2c8c28e0a2df3527028
ab7435abd9db52732d2d1d3494aae669d91937f1
go/types, types2: record type parameters in receiver expressions as uses CL 594740 rewrote type checking of method receiver types. Because that CL takes apart receivers "manually" rather than using the regular code for type checking type expressions, type parameters in receiver type expressions were only recorded as d...
[ { "path": "src/cmd/compile/internal/types2/api_test.go", "patch": "@@ -515,6 +515,13 @@ func TestTypesInfo(t *testing.T) {\n \t\t// {`package qf14; type T[_ any] int; func ((*(T[_]))) _() {}`, `(T[_])`, `qf14.T[_]`}, // parser doesn't record parens\n \t\t// {`package qf15; type T[_ any] int; func ((*(T[_]))...
2024-07-31T02:35:27