-
I use ADVANCED optimization and I expect both scripts to raise a warning because of bad callFn argument.
This script raises a warning:
``` javascript
/**
* @param {function(number)} fn
*/
function…
-
I have a `TYPES.TEXT_LIST` that uses this function to generate a list of items
```
function (item, entity) {
var unchecked = entity.attributes.notes[0].unchecked;
var o…
-
Copy/paste from the ref link below with lots of annotation:
```golang
package main
import "fmt"
type tester interface {
test(int) bool
}
func runTests(i int, tests []tester) bool {
r…
-
Right now express requires that rendering functions be named, but it seems like we could allow for anonymous functions?
```python
from shiny import render
import shiny.express
@render.text
de…
-
Each inline declaration of a function, i.e. `pipe`, it may force callsites to create an anonymous class to capture the scope. This is an issue in Android land, due to the dex format and its limitation…
-
First off, thanks for the awesome plugin!
I just wanted to flag a small issue I came across. It seems that anonymous functions (\(x)), which were introduced in R 4.1.0, aren't being highlighted corre…
wklm updated
20 hours ago
-
[Anonymous functions](https://www.php.net/manual/en/functions.anonymous.php) are not converted correctly.
This:
```php
$exceptions = array_reduce($types, function (&$result, $item) {
$resu…
-
I would like to have a rule `avoid_unused_function_parameters` (similar to `avoid_unused_constructor_parameters`)
**Examples**
BAD (`sideB` is never used):
```dart
double squareArea(double sid…
-
From the VERSIONS section in [mmap](https://man7.org/linux/man-pages/man2/mmap.2.html) man page:
> If the `MAP_FIXED` flag is specified, and `addr` is 0 (NULL), then the mapped address will be 0 (N…
-
```ts
it('foo test', async () => {});
```
doesn't have proper highlighting of the `async`