-
### Dafny version
4.8.0
### Code to produce this issue
```dafny
trait Thing extends object {
var owner: Thing
}
lemma TestProof(things: set)
{
assume forall o: Thing | o in things :: o.o…
-
These are examples of how to get and update records (and their "desugared" versions)
```roc
readA = \record -> record |> .a
# readA = \record -> record.a
writeA = \value -> \record -> record |>…
-
https://github.com/Scille/parsec-cloud/blob/aede5adc3baeedbe4633ef2766b0e6ab4f79b988/libparsec/crates/types/tests/unit/local_folder_manifest.rs#L884
-
### Describe the project you are working on
I'm working on a unit testing API and had very often the case to manually downcast to explicit types to fix warning issues.
### Describe the problem o…
-
For example, right now this signature:
```c
int Fl_Window_x(Fl_Window *);
```
will generate as AST of its argument:
```json
{
"kind": "vardef",
"typ…
-
For now there's no way to match on iteraters the same way we do with Lists, and I reckon it would be useful as it can drastically simplify the way people work with iterators.
So ideally it would b…
-
(transcribing these from Discord)
* [x] Empty array pattern `[]`
* [x] Implicit return:
```coffee
function categorize(x)
switch x
1
'one'
```
* [x] Expression form:
…
-
Odd issue in pattern matching:
- `src/.*/([^.]+).(tsx?)$` - works
- `.*/([^.]+).(tsx?)$` - doesn't (same as above, minus `src/`. I would expect this to work as well.
-
## Compiler version
`3.5.0` (`3.4.0`+)
`3.3.3` works correctly
## Minimized code
```Scala
enum Foo:
case Bar(i: Int)
case class Container(foo: Foo)
@main def main = Container(Foo.Ba…
-
```rescript
let myDict = dict{
"key1": "k1"
}
switch myDict {
| dict{"key1": k} => Console.log(`key1 value: ${k}`)
| _ => Console.log("Miss")
}
```