# \#baselanguage

**URL:** https://platform.jetbrains.com/tag/baselanguage/30.md

[Latest](https://platform.jetbrains.com/latest.md) · [Categories](https://platform.jetbrains.com/categories.md) · [Tags](https://platform.jetbrains.com/tags.md)

---

## [Inherit Scope for VariableReference](https://platform.jetbrains.com/t/inherit-scope-for-variablereference/4477)

<div class="topic-metadata">

**Author:** [@danielstieger](https://platform.jetbrains.com/u/danielstieger)\
**Replies:** 2\
**Last updated:** [June 19, 2026, 6:36am UTC](https://platform.jetbrains.com/t/inherit-scope-for-variablereference/4477 "2026-06-19T06:36:00Z")

</div>

Hi Vaclav, hope you are well. Probably you could help me out with an idea regarding baselang. In my InstanceMethod i have some strange behavior regarding variable scoping. I can reference MY\_OBJECT\_VAR before declaratio…

---

## [Loosing Type of ClosureLiteral (The Parameter)](https://platform.jetbrains.com/t/loosing-type-of-closureliteral-the-parameter/3302)

<div class="topic-metadata">

**Author:** [@danielstieger](https://platform.jetbrains.com/u/danielstieger)\
**Replies:** 1\
**Last updated:** [January 30, 2026, 12:02pm UTC](https://platform.jetbrains.com/t/loosing-type-of-closureliteral-the-parameter/3302 "2026-01-30T12:02:26Z")

</div>

Hi there, when using a ClosureLiteral with a Param in the generator, i loose the type information (probably param and return type). The generation process stops with “cannot calculate type for closure literal”. I m …
