From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,89cb2d7ffc7421c9 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.megapath.net!news.megapath.net.POSTED!not-for-mail NNTP-Posting-Date: Tue, 05 Sep 2006 18:50:49 -0500 From: "Randy Brukardt" Newsgroups: comp.lang.ada References: Subject: Re: Ripple effect Date: Tue, 5 Sep 2006 18:52:17 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 Message-ID: NNTP-Posting-Host: 64.32.209.38 X-Trace: sv3-8uHyDDIrZNXLnbzLjy3THmxbxqo0c4TFbqpaWKORiuK2+mtysvIDj4Y2S11Ra3UibuuuyfrsTvaeCg4!UZQtqhZ7nb//ZDbmPXDD1CKhuFRfouBIBw8pkSPt361TV1UGsgHnt9KTnZF46sPamFriXijO6vs2!h3PNd5QogdQwGg== X-Complaints-To: abuse@megapath.net X-DMCA-Complaints-To: abuse@megapath.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news2.google.com comp.lang.ada:6458 Date: 2006-09-05T18:52:17-05:00 List-Id: "Jeffrey R. Carter" wrote in message news:fm5Lg.947292$084.573762@attbi_s22... > It seems awkward. We're working on a project. I create package B, which > has "with A;" on it. I thought B would need it, but I was wrong, and > forgot to remove it. You're developing C and need to use B, so you have > "with B;" on C. Then you realize you need to use A and write some code > that references A. You forget to put "with A;" on C, but it compiles OK > because B references A. Then I clean up B and remove the reference to A > from it. Now C doesn't compile. That seems undesirable. It *is* undesirable. Janus/Ada had a bug like that, and it caused no end of trouble (especially porting code to other compilers, but also with unrelated units suddenly going bad when something is changed). Of course, I recently fixed the bug, and that turned out to be undesirable, too, because a lot of things fail to compile now... Sigh. Randy.