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

dummy terms on function definition/scope #72

Open
swang203 opened this issue Jun 8, 2019 · 0 comments
Open

dummy terms on function definition/scope #72

swang203 opened this issue Jun 8, 2019 · 0 comments
Assignees

Comments

@swang203
Copy link
Contributor

swang203 commented Jun 8, 2019

//for the following pyrope code

  $a as __bits:1
  $b as __bits:1
  %s as __bits:1
  %s = $a & $b

  fun1 = :($a,$b,%o):{
    %o = $a + $b
  }

// there will be two dummy null terms on the line of K9,
// I think this is the same issue as the closed issue #64
// this one should also be fixed

K1   K2    0  0    14   :    ___a    __bits  0d1                 
K2   K3    0  0    14   as   $a      ___a                        
K3   K4    0  15   29   :    ___b    __bits  0d1                 
K4   K5    0  15   29   as   $b      ___b                        
K5   K6    0  30   44   :    ___c    __bits  0d1                 
K6   K7    0  30   44   as   %s      ___c                        
K7   K8    0  45   57   &    ___d    $a      $b                  
K8   K9    0  45   57   =    %s      ___d                        
K11  K12   1  59   96   +    ___f    $a      $b                  
K12  null  1  59   96   =    %o      ___f                        
K9   K14   0  59   96   ::{  ___e    null    K11   $a    $b  %o  null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants