|
Revision 3799, 0.9 KB
(checked in by EricAllen, 6 months ago)
|
|
Added more testing of parametric traits. Added more testing of syntactic abstraction. Added more native math operations to libraries. Improved a static error message.
|
| Line | |
|---|
| 1 | (******************************************************************************* |
|---|
| 2 | Copyright 2009 Sun Microsystems, Inc., |
|---|
| 3 | 4150 Network Circle, Santa Clara, California 95054, U.S.A. |
|---|
| 4 | All rights reserved. |
|---|
| 5 | |
|---|
| 6 | U.S. Government Rights - Commercial software. |
|---|
| 7 | Government users are subject to the Sun Microsystems, Inc. standard |
|---|
| 8 | license agreement and applicable provisions of the FAR and its supplements. |
|---|
| 9 | |
|---|
| 10 | Use is subject to license terms. |
|---|
| 11 | |
|---|
| 12 | This distribution may include materials developed by third parties. |
|---|
| 13 | |
|---|
| 14 | Sun, Sun Microsystems, the Sun logo and Java are trademarks or registered |
|---|
| 15 | trademarks of Sun Microsystems, Inc. in the U.S. and other countries. |
|---|
| 16 | ******************************************************************************) |
|---|
| 17 | |
|---|
| 18 | component CatchUse2 |
|---|
| 19 | import Catch.{...} |
|---|
| 20 | export Executable |
|---|
| 21 | |
|---|
| 22 | run() = do |
|---|
| 23 | a:ZZ32[3] = [1 2 3] |
|---|
| 24 | println (foobar a[5], 6, 7) |
|---|
| 25 | end |
|---|
| 26 | |
|---|
| 27 | end |
|---|