(* * NOTE: At present, the syntax update that allows this file to parse has been * commented out until we get the semantic problems that it causes fixed. The * affected syntax is at the very end of the parts_spec_2 rule. * * This file tests the 19oct99 syntax update that allows string and numeric * literals to be used directly in component exprs. * * Results of the 19oct99 tests: Oops, it doesn't type check, since we get the * message: * Checking module Main * Checking object Sex * Component "Male" not defined. * Component "Female" not defined. * * Looks like we have some work to do here. *) object Sex = "Male" or "Female"; object OneAndTwo = 1 and 2;