Skip to content

Commit

Permalink
inline only fully applied
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszcz committed Dec 3, 2024
1 parent 79b7080 commit f41359d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ convertNode inlineDepth nonRecSyms symOcc md = dmapL go
Just InlineNever -> node
_
| HashSet.member _identSymbol nonRecSyms
&& argsNum == 0
&& ( HashMap.lookup _identSymbol symOcc == Just 1
|| isImmediate md def
) ->
Expand Down
1 change: 1 addition & 0 deletions tests/Compilation/positive/test086.juvix
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
-- Patterns in definitions
module test086;

import Stdlib.Prelude open;
Expand Down

0 comments on commit f41359d

Please sign in to comment.