Skip to content

starlark parser doesn't support lambda expressions #7708

@jalkjaer

Description

@jalkjaer

Description of the bug:

Since lambda expressions are now available in starklark, the PSI? should support it.

Image

Which category does this issue belong to?

Intellij

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

create a test.bzl with the content from the spec page

def map(f, list):
    return [f(x) for x in list]

map(lambda x: 2*x, range(3))    # [2, 4, 6]

Which Intellij IDE are you using? Please provide the specific version.

Ultimate 2025.1.1.1

What programming languages and tools are you using? Please provide specific versions.

starlark

What Bazel plugin version are you using?

2025.05.13.0.1-api-version-251

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

No response

Metadata

Metadata

Assignees

Labels

P4This is either out of scope or we don't have bandwidth to review a PR. (No assignee)awaiting-maintainerAwaiting review from Bazel team on issuesproduct: IntelliJIntelliJ plugintype: bug

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions