-
-
**Describe the bug**
A clear and concise description of what the bug is.
`if (instanceof C)` can be used for classes which has private constructors potentially, but `P.instanceof` can't. It's beca…
-
测试用例如下
```java
@Getter
@Setter
static class User{
private String name;
private List additionalInfo;
}
@Getter
@Setter
@ToString
static class NVSt…
-
### Description
similar to https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-instanceof-array.md
### Fail
```js
foo instanceof Function
```
### Pass
```js
typeof …
-
In Node.js 18.6, this piece of code doesn't work:
```js
import { fetch } from "undici";
fetch(new Request("https://example.com"));
```
Error:
```
TypeError: Failed to parse URL from [obje…
-
-
e.g. [line 69](https://github.com/quarterto/Boulevard/blob/master/src/index.js#L69). potentially fails if the consumer ends up with a different copy of `fantasy-options`.
-
In some (rare) cases function **instanceOf** may fall into an infinite loop, which - in my case - was possible to eliminate by adding additional conditional break.
```
while (constructor){
if (con…
-
### Detailed description
The generated opencv.js file seems to contain the following code:
```
...y{table.grow(1)}catch(err){if(!err instanceof RangeError){throw...
```
That's incorrect, as…
-
Should this yield `True` ?
`>>> isinstance(OrderedSet(), set)`
Given `OrderedSet` shares the same API and already inherits from `collections.Set`, this check makes sense to me at least, so `Orde…
joaoe updated
6 years ago