-
This one is a little bit tricky because I can't really tell what's the root cause for this, it's probably related to #134.
---
The situation: Butternut removes an unused variable (`any_value_2` …
loilo updated
7 years ago
-
For simplicity one might want to have a simplified way to write its anonymous functions. Consider the `each` method. Currently we would have to write something like:
```
arr.each(function(x) { printl…
-
``` scala
object Foo {
def foo {
val bar = { item =>
}
wrong
}
}
```
Looks like this on 7.4.491.
-
I'd expect `M.blue.name` to be `blue`, but for some reason arrow functions don't have a name. Is this a bug or intentional?
```
class M {
static green () { return 'green' }
static blue = () => '…
reggi updated
5 years ago
-
This works and is detected:
```js
async function a() {};
a();
```
But this is not detected (and passes):
```js
const a = async () => {};
a();
```
-
Hello,
First, thank you for the package!
I encountered this error : "Error: addImage does not support files of type 'UNKNOWN', please ensure that a plugin for 'UNKNOWN' support is added" while us…
-
Here’s a program that makes a stack trace:
```javascript
var dog = {};
dog.bark = function() {
throw new Error('woof woof');
};
function makeStack() {
try {
dog.bark();
} catch (e…
-
- Plugin version (or commit hash): 0.171.1931
- IDE name and version: IntelliJ IDEA Ultimate 2017.1
- Java version: JDK8
- OS name and version: Win10
- What are you trying to do?
1. Writing: `h…
ybbus updated
7 years ago
-
-
In Scala you can write.
scala> (1 until 1000).filter(n => n % 3 == 0 || n % 5 == 0).foldLeft(0)(_ + _)
res2: Int = 233168
n => n % 3 == 0... this is a function with parameter n.
Could
``` pogoscri…