Euphoria Ticket #973: Some warnings are never being issued

I am using the HEAD of the 4.0 branch and there is no way to trigger the following warnings: translator, cmdline, resolution and builtin_chosen.

I am unable to test the mixed_profile warning because the 'with profile_time' statement is not supported under Linux.

translator and cmdline seem to be pointless anachronisms. That is, things that would have triggered these, trigger errors instead.

That leaves two that might actually be helpful: resolution and builtin_chosen

Details

Type: Bug Report Severity: Minor Category: Front End
Assigned To: unknown Status: New Reported Release: 4.0.5
Fixed in SVN #: View VCS: none Milestone: 4.0.6

1. Comment by SDPringle 1 week ago

See: hg:euphoria/rev/8ba44cdf895c

changeset: 6458:8ba44cdf895c branch: 4.0 tag: tip user: Shawn David Pringle B.Sc. <shawn.pringle@gmail.com> date: Sat Apr 14 19:23:29 2018 -0300 files: tests/t_warning_options.d/dependency.e tests/t_warning_options.d/make_warnings.ex tests/t_warning_options.e description:

  • ticket 973: added more tests for setting or disabling warnings at the command line

2. Comment by SDPringle 1 week ago

no_value is implemented in such a way that it will only be issued if a variable never gets assigned a value but it is read from. This is not at all clear in neither the messages nor the code.

3. Comment by SDPringle 1 week ago

See: hg:euphoria/rev/5e907c0b8a39

changeset: 6459:5e907c0b8a39 branch: 4.0 user: Shawn David Pringle B.Sc. <shawn.pringle@gmail.com> date: Sun Apr 15 08:54:59 2018 -0300 files: docs/refman_2.txt source/msgtext.e tests/t_warning_options.d/dependency.e tests/t_warning_options.d/make_warnings.ex tests/t_warning_options.e description:

  • corrected documentation in regards to the no_value warning, modified test to find no_value warning, and corrected message texts to reflect what no_value really means. Ticket 973

4. Comment by SDPringle 1 week ago

Previous commit changed warning strings and that broke one of the tests. The tests were updated in 1fd582ebf8e9.

5. Comment by SDPringle 5 days ago

See: hg:euphoria/rev/f5ee29ff1ff5

changeset: 6461:f5ee29ff1ff5 branch: 4.0 user: Shawn David Pringle B.Sc. <shawn.pringle@gmail.com> date: Mon Apr 16 13:05:41 2018 -0300 files: tests/t_warning_options.e description:

  • made test results of t_warning_options.e easier to understand: ticket 973

6. Comment by SDPringle 5 days ago

See: hg:euphoria/rev/e0cd065fe43e

changeset: 6462:e0cd065fe43e branch: 4.0 user: Shawn David Pringle B.Sc. <shawn.pringle@gmail.com> date: Mon Apr 16 13:47:18 2018 -0300 files: source/parser.e source/symtab.e tests/t_warning_options.e description:

  • reenable builtin_chosen warning for most -w and -strict combinations: ticket 973

7. Comment by SDPringle 5 days ago

See: hg:euphoria/rev/3d23da77b309

changeset: 6463:3d23da77b309 branch: 4.0 tag: tip user: Shawn David Pringle B.Sc. <shawn.pringle@gmail.com> date: Tue Apr 17 10:02:34 2018 -0300 files: docs/refman_2.txt source/global.e description:

  • got builtin_chosen warning working. ticket 973

8. Comment by SDPringle 1 day ago

See: hg:euphoria/rev/273b1afe9b60

changeset: 6464:273b1afe9b60 branch: 4.0 tag: tip user: Shawn David Pringle B.Sc. <shawn.pringle@gmail.com> date: Sun Apr 22 22:32:19 2018 -0300 files: source/parser.e source/symtab.e description:

  • fixed resolution warning for test case we have: ticket 973

Search



Quick Links

User menu

Not signed in.

Misc Menu