I have noticed the compiler in v17 is significantly better at flagging little errors like that. And a lot of others. There were some wonky things in a database I converted which is in active use, compiled, all vars typed. I thought v17 must have corrupted the code somehow because I just didn't think the things I saw could have been there before. But it turned out it had been there for several years - I found it in exported method files going back several years in some cases.
Not really a bad thing. Surprising sometimes. On Wed, Feb 20, 2019 at 10:02 AM Chuck Miller via 4D_Tech < 4d_tech@lists.4d.com> wrote: > I have found something in v17 that I did not think would work > > I have a method which is always passed a pointer. I made a mistake way > back when in v15 > > The compiler declaration is c_pointer (method;$1) while in the method it > was c_text. What is strange is that it has worked in v15 but in 17 it > throws an error as I would have expected. Hope this helps someone else. > > The compiler does not choke on this > > Regards > > Chuck > > ------------------------------------------------------------------------------------------------ > Chuck Miller Voice: (617) 739-0306 > Informed Solutions, Inc. Fax: (617) 232-1064 > mailto:cjmiller<AT SIGN>informed-solutions.com > Brookline, MA 02446 USA Registered 4D Developer > Providers of 4D and Sybase connectivity > http://www.informed-solutions.com > > ------------------------------------------------------------------------------------------------ > This message and any attached documents contain information which may be > confidential, subject to privilege or exempt from disclosure under > applicable law. These materials are intended only for the use of the > intended recipient. If you are not the intended recipient of this > transmission, you are hereby notified that any distribution, disclosure, > printing, copying, storage, modification or the taking of any action in > reliance upon this transmission is strictly prohibited. Delivery of this > message to any person other than the intended recipient shall not > compromise or waive such confidentiality, privilege or exemption from > disclosure as to this communication. > > ********************************************************************** > 4D Internet Users Group (4D iNUG) > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ********************************************************************** -- Kirk Brooks San Francisco, CA ======================= What can be said, can be said clearly, and what you can’t say, you should shut up about *Wittgenstein and the Computer * ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************