sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: go
Issue: x/tools/gopls: imports older modules
Labels: gopls,Tools,gopls/imports

### Go version

go version go1.22.2 darwin/arm64, golang.org/x/tools/gopls v0.15.2

### Output of `go env` in your module/workspace:

```shell
GO111MODULE=''
GOARCH='arm64'
GOBIN=''
GOCACHE='/Users/jzelinskie/Library/Caches/go-build'
GOENV='/Users/jzelinskie/Library/Application Support/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='arm64'
GOHOSTOS='darwin'
GOINSECURE=''
GOMODCACHE='/Users/jzelinskie/.local/share/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='darwin'
GOPATH='/Users/jzelinskie/.local/share/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/opt/homebrew/Cellar/go/1.22.2/libexec'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/opt/homebrew/Cellar/go/1.22.2/libexec/pkg/tool/darwin_arm64'
GOVCS=''
GOVERSION='go1.22.2'
GCCGO='gccgo'
AR='ar'
CC='cc'
CXX='c++'
CGO_ENABLED='1'
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-L/opt/homebrew/lib'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/y8/7684dpln6fx116tgj4gb_ff00000gn/T/go-build3939956594=/tmp/go-build -gno-record-gcc-switches -fno-common'
```


### What did you do?

1. Import a module that contains both a v2 and v1 version (e.g. `import "github.com/jzelinskie/cobrautil/v2/cobraotel"`).
2. Use another package from that module
3. Run gopls/goimports to add the missing module


I'm not fully sure these are the minimum steps to reproduce, but I believe so. It might have to do with that's in your module cache, too.

I've had this cause issues in production because it slipped past code review because of how dependent folks are on for import tooling and linters on imports -- humans barely look at them.

### What did you see happen?

The v1 module is imported

```go
import (
	"github.com/jzelinskie/cobrautil"
	"github.com/jzelinskie/cobrautil/v2/cobraotel"
)
```

### What did you expect to see?

The v2 module should be imported because it's already being used:

```go
import (
	"github.com/jzelinskie/cobrautil/v2"
	"github.com/jzelinskie/cobrautil/v2/cobraotel"
)
```
Repository: ant-design
Issue: TimePicker.RangePicker (needConfirm=false) focus and displays start time picker when clicking outside 
Labels: 🐛 Bug,Inactive

### Reproduction link

[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/edit/react-ucmf8f-sumn4q?file=demo.tsx)

![Kapture 2024-05-13 at 13 30 34](https://github.com/ant-design/ant-design/assets/24713139/796f74d7-3122-41aa-a4fd-a2843264116b)


### Steps to reproduce

1. enter a start time
2. enter an end time
3. click outside of the range picker

### What is expected?

the range picker select should be dismissed

### What is actually happening?

focus goes back to the start time select and expands the start time select dropdown

| Environment | Info |
| --- | --- |
| antd | 5.17.0 |
| React | 18 |
| System | macos 14.4.1 |
| Browser | chrome 124.0.6367.201 |

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: godot
Issue: Rendering box mesh crashes the editor
Labels: bug,platform:android,topic:editor,topic:porting,needs testing,crash

### Tested versions

Godot v4.2.2.stable - Android

### System information

Godot v4.2.2.stable - Android - GLES3 (Compatibility) - PowerVR B-Series BXM-8-256 -  (8 Threads)

### Issue description

When trying to set mesh instance to box mesh while on gl compatibility, the editor crashes.

### Steps to reproduce

1. Create project on gl compatibility mode
2. Create mesh instance node
3. Try to set box mesh
4. Crash:
![Screenshot_20240513-141853](https://github.com/godotengine/godot/assets/89420126/07a1a73a-9da5-4767-b12e-9b047419b5ce)


### Minimal reproduction project (MRP)

[Puzzle.zip](https://github.com/godotengine/godot/files/15298197/Puzzle.zip)

Ignore missing scene message.
Repository: flutter
Issue: Consistently format JSON files in //flutter/ci/builders/
Labels: P3,team-engine,triaged-engine

Since the JSON files all have different formats, moving sections from one to the other requires fixing up the format to match that of the target JSON file.

We should just have a consistent JSON format and a linter that fixes it up.
Repository: rust
Issue: Tracking Issue for CRC32 intrinsics on 32-bit ARM
Labels: O-Arm,T-libs-api,C-tracking-issue

<!--
Thank you for creating a tracking issue!

Tracking issues are for tracking a feature from implementation to stabilization.

Make sure to include the relevant RFC for the feature if it has one.

If the new feature is small, it may be fine to skip the RFC process. In that
case, you can use `issue = "none"` in your initial implementation PR. The
reviewer will ask you to open a tracking issue if they agree your feature can be
added without an RFC.
-->

Feature gate: `#![feature(stdarch_arm_crc32)]`

This is a tracking issue for CRC32 intrinsics on ARM
Unstabilized ARM for intrinsics from previous issue https://github.com/rust-lang/rust/issues/117215#issue-1963289418

<!--
Include a short description of the feature.
-->

### Public API

<!--
For most library features, it'd be useful to include a summarized version of the public API.
(E.g. just the public function signatures without their doc comments or implementation.)
-->

```rust
// core::arch::arm

pub unsafe fn __crc32b(crc: u32, data: u8) -> u32;
pub unsafe fn __crc32cb(crc: u32, data: u8) -> u32;
pub unsafe fn __crc32h(crc: u32, data: u16) -> u32;
pub unsafe fn __crc32ch(crc: u32, data: u16) -> u32;
pub unsafe fn __crc32w(crc: u32, data: u32) -> u32;
pub unsafe fn __crc32cw(crc: u32, data: u32) -> u32;
```

### Steps / History

<!--
For larger features, more steps might be involved.
If the feature is changed later, please add those PRs here as well.
-->

- [ ] Implementation: #...
- [ ] Final comment period (FCP)[^1]
- [ ] Stabilization PR

<!--
Once the feature has gone through a few release cycles and there are no
unresolved questions left, the feature might be ready for stabilization.

If this feature didn't go through the RFC process, a final comment period
(FCP) is always needed before stabilization. This works as follows:

A library API team member can kick off the stabilization process, at which point
the rfcbot will ask all the team members to verify they agree with
stabilization. Once enough members agree and there are no concerns, the final
comment period begins: this issue will be marked as such and will be listed
in the next This Week in Rust newsletter. If no blocking concerns are raised in
that period of 10 days, a stabilization PR can be opened by anyone.
-->

### Unresolved Questions

<!--
Include any open questions that need to be answered before the feature can be
stabilised. If multiple (unrelated) big questions come up, it can be a good idea
to open a separate issue for each, to make it easier to keep track of the
discussions.

It's useful to link any relevant discussions and conclusions (whether on GitHub,
Zulip, or the internals forum) here.
-->

- None yet.

[^1]: https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html
Repository: transformers
Issue: new model request: DeepSeek-V2
Labels: New model

### Model description

Tech Report: https://arxiv.org/abs/2405.04434
Code: https://huggingface.co/deepseek-ai/DeepSeek-V2/blob/e0828e3cc0a03408724b80c3cc92c8e072db8d01/modeling_deepseek.py

### Open source status

- [X] The model implementation is available
- [X] The model weights are available

### Provide useful links for the implementation

_No response_
Repository: next.js
Issue: Next >14.0.1 cannot use @ant-design/icons (unexpected token 'export')
Labels: create-next-app,bug,Webpack,Module Resolution

### Link to the code that reproduces this issue

https://github.com/BaileyMillerSSI/next-ant-design-demo

### To Reproduce

1) Create a new project with `npx create-next-app@latest` (I selected typescript, tailwind, src dir (pages), and other defaults)
2) `npm install @ant-design/icons`
3) Modify the `index.tsx` file to include an ant design icon

### Current vs. Expected behavior

Displayed error:
```
~\bad-ant-icons-demo\node_modules\@ant-design\icons-svg\es\asn\AccountBookFilled.js:3
export default AccountBookFilled;
^^^^^^

SyntaxError: Unexpected token 'export'
```

In an existing project I was previously on Next 14.0.1 and upgraded to 14.1.1 to resolve the published security issue. After upgrading I was unable to use ant-design/icons. This is demo is in a fresh application.

Expected:
@ant-design/icons would be usable within the base project. I have tried changing the `package.json` to be type: module and that has no affect. It seems that either or both of these are true; something was broken in next during the upgrade to >14.0.1 or ant-design/icons had a bug hidden in it that upgrading next to >14.0.1 exposed as a build error. 

### Provide environment information

```bash
Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 10 Enterprise
  Available memory (MB): 32466  
  Available CPU cores: 24       
Binaries:
  Node: 22.1.0
  npm: N/A
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 14.2.3 // Latest available version is detected (14.2.3).
  eslint-config-next: 14.2.3
  react: 18.3.1
  react-dom: 18.3.1
  typescript: 5.4.5
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

create-next-app, Developer Experience, Module Resolution, Webpack

### Which stage(s) are affected? (Select all that apply)

next dev (local), next build (local)

### Additional context

As far I can tell this appears to be an issue with @ant-design/icons BUT next didn't complain about it until >14.0.1. With teams upgrading to resolve the security issue fixed in next 14.1.1 I suspect that more users will run into this issue.

Re:
https://github.com/ant-design/ant-design-icons/issues/619
https://github.com/ant-design/ant-design-icons/issues/605
Repository: material-ui
Issue: Provide IP address input component
Labels: new feature,waiting for 👍

I am wondering to know, is there any plan to add ip address input component (IPV4-separated by dot "." And IPV6)

Thanks 🙏

**Search keywords**:
Repository: go
Issue: cmd/compile/internal/types2: enable unsorted processing of package objects
Labels: NeedsInvestigation,early-in-cycle,compiler/runtime

Reminder issue to remove the `false` in the condition at resolver.go:680 (look for `issue50259.go` in the source).
Repository: TypeScript
Issue: Bloomberg TS5.5-beta feedback
Labels: Discussion

### Acknowledgement

- [X] I acknowledge that issues using this template may be closed without further explanation at the maintainer's discretion.

### Comment

We are in the process of evaluating the impact of TS 5.5 beta on Bloomberg code. Below are preliminary findings.

Overall this looks to be a low-impact release. The following changes were observed and seem to either be benign in nature or else improvements:

<meta charset="utf-8"><b style="font-weight:normal;" id="docs-internal-guid-c39f63e4-7fff-32d5-91fc-300cb3513fc6"><div dir="ltr" style="margin-left:0pt;" align="center">
Change | Impacts | Release notes | Packages affected
-- | -- | -- | --
Stricter type-checking of partial objects | Type checker | This may be caused by [improved type predicates](https://devblogs.microsoft.com/typescript/announcing-typescript-5-5-beta/#inferred-type-predicates) | 1
Improved narrowing of `Array.isArray` result | Type checker | This may be caused by [improved type predicates](https://devblogs.microsoft.com/typescript/announcing-typescript-5-5-beta/#inferred-type-predicates) | 1
Exports are hoisted to the top of a module | Emitted JS | Not announced | Most

</div></b>

### Stricter type-checking of partial objects
We observed one project with a new type error in 5.5-beta, seemingly due to an improvement in type-checking for partials.

A minimal reproduction is [here](https://www.typescriptlang.org/play/?ts=5.5.0-beta#code/KYDwDg9gTgLgBAMwK4DsDGMCWEVwgIwCtgMBRFGKTYAZwB4AoOZuAFTlBmBQBMa4A3gF8ANExYBpDiC69+Aa2ABPCAjZiWcAKrTZfQXADaE5XEy5FKtawC6ALiMmlItseU2bcUeOYA1Xdz6WoaWqto2YgB8ABQEhA6sAJQOvoaeAj5wUMAwSFC4KEgANkVwAIb8ZShKANwMQgwMMEpgwHAA6pg8AOY5nTAAFgDKmN0oZUX8ALwG2WU8OEVKcDSj45MOwl51DKCQsIioGNi4aHNcdOycgfydPX2YgyNjEzQxYFAQrbDUNA4ACmUfhNLpFEoJMmgcDR4NxKL84DM4iQYOR4bRoh8vsAfrREnVNHCqLQAHQIaCkMpoAbRaLAKkDcFTSIQzSaKEoGFGLHfZouABuEyQwE8M3p1IJLCE+PqDCAA).

### Improved narrowing of `Array.isArray` result
We observed for one project a new type error from trying to compare a string with an array after an Array.isArray check. The generics involved make a minimal reproduction infeasible but the essence of the code is:

```ts
if (Array.isArray(foo)) {
     If (foo !== "something") // raises a new error for some complex foo
}
```

### Exports are hoisted to the top of a module

Module exports seem to be hoisted to the top of modules now. No runtime impact observed.

```diff
Object.defineProperty(exports, "__esModule", { value: true });
+exports.foo = foo;
 function foo() {
     // …
 }
-exports.foo = foo;
```
Repository: electron
Issue: [Bug]: NSStatusItem doesn't maintain position in menubar across launches
Labels: enhancement :sparkles:,platform/macOS,component/tray,status/confirmed,29-x-y,30-x-y,31-x-y

### Preflight Checklist

- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a bug report that matches the one I want to file, without success.

### Electron Version

29/30

### What operating system are you using?

macOS

### Operating System Version

macOS 14

### What arch are you using?

arm64 (including Apple Silicon)

### Last Known Working Electron version

_No response_

### Expected Behavior

relocating the menubar icon by holding down the command key and click/draging the icon to a new position in the menubar should save that location and result in it maintaining that location across launches.

### Actual Behavior

upon quitting the application and launching it again, the icon displays left-most in the status area of the menubar instead of where you relocated it.

### Testcase Gist URL

_No response_

### Additional Information

It is recommended that the NSStatusItem have its autosave name set rather than letting the system assign one, this can be done in the initWithIcon method in [shell/browser/ui/tray_icon_cocoa.mm](https://github.com/electron/electron/blob/main/shell/browser/ui/tray_icon_cocoa.mm)
Repository: rust
Issue: Assoc const equality doesn't work well with rustdoc
Labels: T-rustdoc,C-bug,F-associated_const_equality

Formatting asssociated const equality bounds was broken in #125076. This is because rustdoc uses:
https://github.com/rust-lang/rust/blob/030a12ce2b1ee42f2d8837b1b500fd9cf12ea191/src/librustdoc/clean/types.rs#L1307
Where the LHS is `Type` even though it definitely cannot be `Type`. It should likely be `Term`.
Repository: next.js
Issue: API Route Inside Dockerized App Repeating Results
Labels: bug

### Link to the code that reproduces this issue

https://github.com/sr5434/spelling-bee

### To Reproduce

1. Create a GCP service account for the cloud TTS service.
2. Create a .env in this format: ```
GOOGLE_APPLICATION_CREDENTIALS="/app/service-account-filename.json"
GOOGLE_CLOUD_PROJECT="project name"
```
3. Build the container and run it.
4. Play the audio and submit a random piece of text.
5. Play the audio again

### Current vs. Expected behavior

I am trying to have speech for different words play. The API route should be returning a random word with its audio(and this occurs when I am testing in development). However, when I containerize my app, the API route keeps returning the same result.

### Provide environment information

```bash
Operating System:
  Platform: linux
  Arch: x64
  Version: #20~22.04.1-Ubuntu SMP Wed Apr  3 03:28:18 UTC 2024
  Available memory (MB): 7930
  Available CPU cores: 2
Binaries:
  Node: 20.12.1
  npm: 10.5.0
  Yarn: 1.22.19
  pnpm: 8.15.6
Relevant Packages:
  next: 14.2.3 // Latest available version is detected (14.2.3).
  eslint-config-next: 14.2.3
  react: 18.3.1
  react-dom: 18.3.1
  typescript: 5.4.5
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

Not sure

### Which stage(s) are affected? (Select all that apply)

next start (local)

### Additional context

The code works as expected when running ```npm run dev``` but breaks after Dockerizing.
Repository: godot
Issue: Unable to interact with window decorations on GNOME 46.1 Wayland with graphic tablet
Labels: bug,platform:linuxbsd,topic:porting

### Tested versions

Reproducably: v4.3.dev6.official [64520fe67], dev5 has same issue, so maybe all versions that has graphic tablet + wayland support are affected.

### System information

Godot v4.3.dev6 - Fedora Linux 40.20240512.0 (Silverblue) - Wayland - Vulkan (Forward+) - dedicated AMD Radeon RX 570 Series (RADV POLARIS10) () - Intel(R) Core(TM) i3-10100F CPU @ 3.60GHz (8 Threads)

### Issue description

Editor with `prefer_wayland = true`, GNOME 46.1 session with Wayland.
When I use my pen and point to any part of window decoration (like title bar, edges of window to resize window), nothing happens and terminal get spammed with message:
`platform/linuxbsd/wayland/wayland_thread.cpp:2334 - Parameter "ws" is null`

Here some demostration:

[wayland.webm](https://github.com/godotengine/godot/assets/54743395/c6bae31a-0ba9-4bc5-a734-37eb3258ffee)

Screen capture didn't captured cursor, but the moment I put cursor on title bar, error started appearing.

Same with borders:

[wayland2](https://github.com/godotengine/godot/assets/54743395/580b93fc-e43f-4098-9ece-0ffc48b74f72)

Using any other input method, such as mouse or touchpad, works as expected, so this should be tablet specific.

### Steps to reproduce

As far I can tell, this started happening when I moved to Fedora Silverblue 40, where GNOME was updated from 45 to 46, which might introduced this issue.
Since this happens with dev5 as well, which was working fine on Fedora 39, this issue probably lies somewhere in GNOME/Fedora, and not regression from Godot update, but I can't tell.

### Minimal reproduction project (MRP)

Happens with editor and exported games, so not project specific.
Repository: godot
Issue: CanvasGroup culls (disappears) too early
Labels: bug,topic:rendering

### Tested versions

v4.2.2.stable.official [15073afe3]

### System information

Windows 10 - v4.2.2.stable.official [15073afe3]

### Issue description

A CanvasGroup node that overlaps a `_draw` call culls itself (disappears) early when a Camera2D zooms out.


https://github.com/godotengine/godot/assets/25368491/0270e220-0312-4289-b47a-712ae12512c7



### Steps to reproduce

1. Open MRP project
    - There are two sprites in a 2D scene
    - The sprite on the left is a normal sprite
    - The sprite on the right is red, and is a child of a CanvasGroup node
    - A 2D grid covering the entire screen is made using a `_draw` call
2. Zoom out with camera
3. Notice how the sprite under the CanvasGroup node disappears when you zoom too far out

### Minimal reproduction project (MRP)

[CanvasGroupBug.zip](https://github.com/godotengine/godot/files/15300454/CanvasGroupBug.zip)
Repository: excalidraw
Issue: [feat] Right click drag to move
Labels: enhancement

Figma recently added the ability to [right click and drag](https://forum.figma.com/t/ability-to-use-the-right-click-to-move-around-the-canvas/53837)

I really love it, and it would be nice to be able to do without having to switch tools.
Repository: flutter
Issue: [Web][HTML]: cursor offset is incorrect when typing CJK 
Labels: a: text input,c: regression,engine,a: internationalization,platform-web,e: web_html,has reproducible steps,P3,team-web,triaged-web,fyi-text-input,found in release: 3.22

### Steps to reproduce


The flutter sdk used version 3.22. (stable channel)
This occurs when the renderer is set to HTML. 
When setting a text field to allow multi-line input and entering Korean, the cursor position is displayed strangely.
There are no problems with English input.

```dart
 Container(
              margin: const EdgeInsets.symmetric(horizontal: 8),
              child: TextFormField(
                minLines: 4,
                maxLines: 15,
                focusNode: indicatorFocusNode,
                controller: indicatorTextEditingController,
                decoration: InputDecoration(
                  border: const OutlineInputBorder(),
                  enabledBorder: const OutlineInputBorder(
                    borderSide: BorderSide(
                      color: Color(0xffCDD4E0),
                    ),
                  ),
                ),
              ),
            ),
```

Thanks 

### Expected results

There should be no problem with the cursor display.

### Actual results

This problem did not occur in version 3.19.

https://github.com/flutter/flutter/assets/19484515/5dedf8fc-1d3d-4f32-9d78-d37b354033cd



### Code sample

<details open><summary>Code sample</summary>

```dart
 Container(
              margin: const EdgeInsets.symmetric(horizontal: 8),
              child: TextFormField(
                minLines: 4,
                maxLines: 15,
                focusNode: indicatorFocusNode,
                controller: indicatorTextEditingController,
                decoration: InputDecoration(
                  border: const OutlineInputBorder(),
                  enabledBorder: const OutlineInputBorder(
                    borderSide: BorderSide(
                      color: Color(0xffCDD4E0),
                    ),
                  ),
                ),
              ),
            ),
```

</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

https://github.com/flutter/flutter/assets/19484515/d76715ec-1c22-497d-81ac-bfc65d90bd51


</details>


### Logs

<details open><summary>Logs</summary>

```console
[Paste your logs here]
```

</details>


### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
[✓] Flutter (Channel stable, 3.22.0, on Debian GNU/Linux 11 (bullseye) 4.14.186-146.268.amzn2.x86_64, locale en_US)
• Flutter version 3.22.0 on channel stable at /usr/local/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 5dcb86f68f (4 days ago), 2024-05-09 07:39:20 -0500
• Engine revision f6344b75dc
• Dart version 3.4.0
• DevTools version 2.34.3
```

</details>