Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Untitled Sections Should be Independent #280

Open
brodieG opened this issue Jul 30, 2021 · 0 comments
Open

Untitled Sections Should be Independent #280

brodieG opened this issue Jul 30, 2021 · 0 comments
Milestone

Comments

@brodieG
Copy link
Owner

brodieG commented Jul 30, 2021

With input:

b <- 24
unitizer_sect("A", {
  a <- 42
  a + 1
  a + 2
})
unitizer_sect("B", {
  b <- 25
  b + 1
  b + 2
})
unitizer_sect("A", {
  a + 3
})
c <- 7

The resulting unitizer data combines the first and last lines into one section:

Browse[1]> [email protected]
  id    call    section ignored status user reviewed
1  1 b <- 24 <untitled>    TRUE    New    N    FALSE
2  2  c <- 7 <untitled>    TRUE    New    N    FALSE
3  3 a <- 42          A    TRUE    New    N    FALSE
4  4   a + 1          A   FALSE    New    N    FALSE
5  5   a + 2          A   FALSE    New    N    FALSE
6  6 b <- 25          B    TRUE    New    N    FALSE
7  7   b + 1          B   FALSE    New    N    FALSE
8  8   b + 2          B   FALSE    New    N    FALSE
9  9   a + 3        A.1   FALSE    New    N    FALSE

It should make unique sections like with the A sections, otherwise sequencing ends up wrong.

See #278 for location where we dumped the above from.

@brodieG brodieG added this to the 1.5.0 milestone Jul 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant