Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add a missing ^ in #asIRPrimitive (the caller checks for that itself,…
… but it makes sense to be here correct, too)
  • Loading branch information
MarcusDenker committed Jun 3, 2020
1 parent d4576a5 commit 54de460
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OpalCompiler-Core/RBPragmaNode.extension.st
Expand Up @@ -6,7 +6,7 @@ RBPragmaNode >> asIRPrimitive [
| args module name spec |
args := (self arguments collect: [ :each | each value ]) asArray.
"normal methods have primitive number 0"
self isPrimitive ifFalse: [ IRPrimitive null ].
self isPrimitive ifFalse: [ ^ IRPrimitive null ].
^ args first isString
ifTrue: [ name := args first.
module := self argumentAt: #module: ifAbsent: [ nil ].
Expand Down

0 comments on commit 54de460

Please sign in to comment.