Return-Path: Delivered-To: apmail-incubator-etch-dev-archive@locus.apache.org Received: (qmail 22659 invoked from network); 20 Jan 2009 22:17:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Jan 2009 22:17:24 -0000 Received: (qmail 79452 invoked by uid 500); 20 Jan 2009 22:17:22 -0000 Delivered-To: apmail-incubator-etch-dev-archive@incubator.apache.org Received: (qmail 79443 invoked by uid 500); 20 Jan 2009 22:17:22 -0000 Mailing-List: contact etch-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: etch-dev@incubator.apache.org Delivered-To: mailing list etch-dev@incubator.apache.org Received: (qmail 79421 invoked by uid 99); 20 Jan 2009 22:17:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jan 2009 14:17:22 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jan 2009 22:17:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C35CC234C4A9 for ; Tue, 20 Jan 2009 14:16:59 -0800 (PST) Message-ID: <1289227079.1232489819798.JavaMail.jira@brutus> Date: Tue, 20 Jan 2009 14:16:59 -0800 (PST) From: "scott comer (JIRA)" To: etch-dev@incubator.apache.org Subject: [jira] Created: (ETCH-27) mixins cause trouble when two or more mixed in files define a type with the same name. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org mixins cause trouble when two or more mixed in files define a type with the same name. -------------------------------------------------------------------------------------- Key: ETCH-27 URL: https://issues.apache.org/jira/browse/ETCH-27 Project: Etch Issue Type: Bug Components: compiler, csharp-binding, java-binding Affects Versions: 1.0.1 Reporter: scott comer Assignee: scott comer three etch files, Foo.etch, Bar.etch, Baz.etch. Foo mixes in Bar and Baz. Bar and Baz each define a struct Entry ( int x ). Bar defines a message void barGet( Entry e ) Baz defines a message void bazGet( Entry e ) when you compile Foo the compiler fails because it conducts it search for type Entry from the top down instead of the bottom up. a top down search finds two definitions for Entry. the reference is ambigous and therefore not allowed. a bottom up search guarantees that barGet binds to Bar's Entry and bazGet binds to Baz's Entry. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.