Changeset a20d52c in tol
- Timestamp:
- Jan 4, 2010, 6:11:39 PM (17 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- b5a47b8
- Parents:
- 4ce7087
- File:
-
- 1 edited
-
tol_tests/tol/Bugzilla/bug_000825/test.tol (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tol_tests/tol/Bugzilla/bug_000825/test.tol
r4ce7087 ra20d52c 15 15 Real numWar0 = Copy(NWarning); 16 16 17 Real G = 1;17 Real tolerance = Tolerance; 18 18 Set aux = 19 19 { 20 Real G= 2;20 Real Tolerance = 2; 21 21 22 [[(Real :: G), G]]22 [[(Real ::Tolerance), Tolerance]] 23 23 }; 24 Real ok.1 = aux[1]== 1;24 Real ok.1 = aux[1]==tolerance; 25 25 Real ok.2 = aux[2]==2; 26 26 27 27 Set aux.fail = 28 28 { 29 Real G= 2;29 Real Tolerance = 2; 30 30 //Esto da un error porque no es posible aplicar el operador de búsqueda 31 31 //global al tipo Anything debido a que es posible crear variables de 32 32 //distinto tipo con el mismo nombre y todas ellas serían aceptables dando 33 33 //lugar a una ambigüedad dificil de resolver sin pérdida de efciciencia. 34 [[ :: G, G]]34 [[ ::Tolerance, Tolerance]] 35 35 }; 36 36
Note: See TracChangeset
for help on using the changeset viewer.
