Skip to content

Instantly share code, notes, and snippets.

@BrianAdams
Created September 23, 2021 02:41
Show Gist options
  • Save BrianAdams/8fef9e168310250795bc0ba6d596b9a0 to your computer and use it in GitHub Desktop.
Save BrianAdams/8fef9e168310250795bc0ba6d596b9a0 to your computer and use it in GitHub Desktop.
livebook branced section bug
# Bug Repo Case
## Tools
### How to use this notebook
This notebook will crash when the index of the first branch is set to a 0 index
```
<!-- livebook:{"branch_parent_index":0} -->
```
You can work around it by manually chainging the index to point to itself
```
<!-- livebook:{"branch_parent_index":1} -->
```
<!-- livebook:{"branch_parent_index":0} -->
## Setup a bogus rover
```elixir
IO.puts("This wont print with index 0")
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment