Project
IntelliJ IDEA
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Fixed
Assignee
Alexey Chmutov
Subsystem
Template Languages. Velocity
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Trejkaz
    3 years ago (12 Dec 2008 04:35)
  • Updated by   root
    2 years ago (17 Jan 2010 21:09)
  • Jira: IDEADEV-33388
    (history, comments)
 
IDEA-47134 Per-file @vtlvariable is not applied per file
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
I have a few cases where the same variable name is of different types in different templates.

IDEA appears to have written this correctly:

#* @vtlvariable name="options" type="package.ExportType1Options" file="../templates/ExportType1Report.vm" *#
#* @vtlvariable name="options" type="package.ExportType2Options" file="../templates/ExportType2Report.vm" *#

But in ExportType1Report.vm, IDEA is assuming that $options is a ExportType2Options. Presumably the file attribute is being ignored.
Comments (0)
 
History
 
Linked Issues (?)
 
Issue has no comments