Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[CORE.setting] constants inside class Num need to be declared our for…

… visibility outside the class to work

git-svn-id: http://svn.pugscode.org/pugs@31910 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
commit cf3c5e80ec154e4c8d488e504eb97468152e551f 1 parent 605f0d0
sorear authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 CORE.setting
View
6 CORE.setting
@@ -93,9 +93,9 @@ my role Numeric { }
my role Real { }
my class Num {
# for now, limit denominator to one quintillion to fit in Rat64.
- constant pi is export = 3.14159_26535_89793_238; # 46_26433_83279_50288;
- constant e is export = 2.71828_18284_59045_235; # 36_02874_71352_66249;
- constant i is export = 1i;
+ our constant pi is export = 3.14159_26535_89793_238; # 46_26433_83279_50288;
+ our constant e is export = 2.71828_18284_59045_235; # 36_02874_71352_66249;
+ our constant i is export = 1i;
}
import Num <pi e i>;
Please sign in to comment.
Something went wrong with that request. Please try again.