Euphoria Ticket #720: Public includes do not propagate correctly

In some cases, public includes do not propagate correctly. Specifically:

-- main.e 
public include a.e 
include c.e 
 
-- a.e 
public include b.e 
 
-- b.e 
public atom b 
 
-- c.e 
include main.e 
 
b = 1 

File c.e should be able to use file b.e, because b.e is publicly included by a.e which is publicly included by main.e.

Details

Type: Bug Report Severity: Major Category: Front End
Assigned To: mattlewis Status: Fixed Reported Release: 4.0.3
Fixed in SVN #: View VCS: none Milestone: 4.0.4

1. Comment by mattlewis Oct 27, 2011

See: hg:euphoria/rev/2626b92b7f1a

changeset: 5188:2626b92b7f1a branch: 4.0 parent: 5177:c65c912af24b user: Matt Lewis date: Thu Oct 27 08:00:49 2011 -0400 files: tests/scope_4.e tests/t_scope.e description:

  • failing test for ticket:720

2. Comment by mattlewis Oct 27, 2011

See: hg:euphoria/rev/b614b65412f6

changeset: 5189:b614b65412f6 branch: 4.0 user: Matt Lewis date: Thu Oct 27 08:12:39 2011 -0400 files: source/scanner.e description:

  • add some missing propagation for public includes
  • fixes ticket 720

3. Comment by mattlewis Oct 27, 2011

See: hg:euphoria/rev/42c8665b7aa4

changeset: 5190:42c8665b7aa4 branch: 4.0 user: Matt Lewis date: Thu Oct 27 08:13:34 2011 -0400 files: docs/release/4.0.3.txt description:

  • release notes for ticket 720

Search



Quick Links

User menu

Not signed in.

Misc Menu