Skip to content

Commit

Permalink
Add a transcript showing that #5076 was fixed
Browse files Browse the repository at this point in the history
Some handling of blocks without final newlines was improved in the course of this PR.

Fixes #5076.
  • Loading branch information
sellout committed Aug 2, 2024
1 parent c5a66d5 commit 96f865b
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
12 changes: 12 additions & 0 deletions unison-src/transcripts/fix5076.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
```ucm:hide
scratch/main> builtins.mergeio
```

Nested call to code lexer wasn’t terminating inline examples containing blocks properly.

```unison
x = {{
``let "me"`` live
``do "me"`` in
}}
```
22 changes: 22 additions & 0 deletions unison-src/transcripts/fix5076.output.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Nested call to code lexer wasn’t terminating inline examples containing blocks properly.

``` unison
x = {{
``let "me"`` live
``do "me"`` in
}}
```

``` ucm
Loading changes detected in scratch.u.
I found and typechecked these definitions in scratch.u. If you
do an `add` or `update`, here's how your codebase would
change:
⍟ These new definitions are ok to `add`:
x : Doc2
```

0 comments on commit 96f865b

Please sign in to comment.