-
### Steps to reproduce
After [`818c641b6`](https://github.com/vim/vim/commit/818c641b6fac73b574a2b760213f515cee9a3c8e), some `enum` body items are no longer matched:
- the `static` and `public` modi…
-
This doesn't happen in all cases, but it seems to be the case with a tagged union. I have a one-click repro for you to check out here: [https://stackblitz.com/edit/node-5bqrlm?file=src/main.ts](https:…
sstur updated
2 years ago
-
**Describe the bug**
I'm using this guide to setup rbac in my application https://casl.js.org/v6/en/cookbook/roles-with-static-permissions.
Here is my final code:
```ts
import {
createM…
-
### Describe the bug
Our Storybook build is currently failing with an `vue-docgen-api` error. The error occurs *only* on our CI pipeline (Azure DevOps with a self-hosted Linux agent). Locally (on Win…
-
After upgrading to Next.js 15, I get the following error when importing. Everything worked great with Next.js 14.2.7.
`TypeError: Cannot read properties of undefined (reading 'ReactCurrentDispatche…
-
This is a proposal for a lint which is intended to flag some statically detectable situations in code where a failure at run-time is near-guaranteed.
### Basic idea
To set the scene, here's a sc…
-
https://phpstan.org/writing-php-code/phpdoc-types#conditional-return-types
@template T of int|array
@return (T is int ? static : array)
I am not sure that you support psalm-types too
-
According to PSR-5 there are 2 special data types:
- `self` - resolves to class name, where annotation was defined
- `static` - resolves to class name that's being instantiated
Examples:
``` php
cla…
-
When I am parsing the following file:
```
public static boolean isTypeIncludedIn(TypeName value, Type... types) {
for (Type item : types) {
if (value.equals(typeName(item))) …
-
## Problem statement
```java
interface Foo {
enum Bar {}
}
```
For this Java code `bar.isPublic()`/`bar.isStatic()` returns `false`, as the `Bar` enum does not specify the `public` (or `static…