inkle / inkle/ink

Temporary variables can appear to be in scope when they aren't

Open
#421 3 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
C#
Stars
4.9k
Forks
540
PR merge metrics
No merged PRs in 30d

Description

The following:

```
-> a(1) -> a.b

== a(temporary)
->->
= b
{ temporary }
-> END
```

generates an ugly run-time crash (can't find temporary variable in context -1), but the compiler doesn't pick it up as a problem. I'm not sure what I'd hope for from this - I can see that coping with this is pretty difficult!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.